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:
parent
bdd1c86cbb
commit
26dade365a
@ -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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user