* external.cc (check_ntsec): New function.
(cygwin_internal): Add CW_CHECK_NTSEC handling to call check_ntsec() from applications. * include/cygwin/version.h: Bump API minor number. * include/sys/cygwin.h (cygwin_getinfo_types): Add CW_CHECK_NTSEC. * cygthread.cc (cygthread::new): Add more defensive debugging.
This commit is contained in:
@ -141,6 +141,8 @@ new (size_t)
|
||||
#ifdef DEBUGGING
|
||||
if (info->__name)
|
||||
api_fatal ("name not NULL? id %p, i %d", id, info - threads);
|
||||
if (!info->h)
|
||||
api_fatal ("h not set? id %p, i %d", id, info - threads);
|
||||
#endif
|
||||
goto out;
|
||||
}
|
||||
|
Reference in New Issue
Block a user