More work on improving interaction between fork and pthreads. Added null_terminated_array_t class.

This commit is contained in:
ridiculousfish
2012-02-28 15:11:46 -08:00
parent 4e912ef83d
commit 909d24cde6
15 changed files with 576 additions and 530 deletions

View File

@@ -2041,6 +2041,10 @@ double timef()
return (double)tv.tv_sec + 0.000001*tv.tv_usec;
}
void exit_without_destructors(int code) {
_exit(code);
}
void append_path_component(wcstring &path, const wcstring &component)
{
size_t len = path.size();