diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-02-28 15:11:46 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-02-29 16:14:51 -0800 |
commit | 909d24cde6acf87587370355d7a9cbc7dc18435c (patch) | |
tree | e859cfa7d3d39998affe6ce42bb44d47977a804b /common.cpp | |
parent | 4e912ef83df234d34fff4156cd2bfb165e113674 (diff) |
More work on improving interaction between fork and pthreads. Added null_terminated_array_t class.
Diffstat (limited to 'common.cpp')
-rw-r--r-- | common.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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(); |