Added the _single_threaded global variable as it is needed by the std I/O

implementation in BeOS.
(spawn_thread() will change the value later, but that will come with the whole
stdio implemenation (as it would now print out a warning))


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2691 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2003-02-11 19:51:49 +00:00
parent bdd1c86cbb
commit 26dade365a
1 changed files with 3 additions and 1 deletions

View File

@ -15,9 +15,11 @@ void initialize_before(image_id imageID, struct uspace_program_args const *args)
char *__progname = NULL;
char _single_threaded = true;
// determines if I/O locking needed; needed for BeOS compatibility
thread_id __main_thread_id;
char **argv_save;
// needed for BeOS compatibility - they get set in the original
// needed for BeOS compatibility - they are set in the original
// BeOS startup code, but they won't be initialized when the
// OpenBeOS startup code is used.