Add pthread and objc-load for Darwin

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@10376 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fedor 2001-07-10 03:23:39 +00:00
parent c51dfe21de
commit 0c85f53a78
9 changed files with 767 additions and 131 deletions

View file

@ -37,6 +37,12 @@ int __objc_thread_exit_status = 0;
/* Flag which lets us know if we ever became multi threaded */
int __objc_is_multi_threaded = 0;
/* Number of threads alive */
int __objc_runtime_threads_alive = 0;
/* Thread create/exit mutex */
struct objc_mutex* __objc_runtime_mutex = NULL;
/* The hook function called when the runtime becomes multi threaded */
objc_thread_callback _objc_became_multi_threaded = NULL;