git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Usermode/init,login - Updated to new PTY code
[tpg/acess2.git]
/
Tools
/
nativelib
/
threads.c
diff --git
a/Tools/nativelib/threads.c
b/Tools/nativelib/threads.c
index
b698770
..
9a4bfdf
100644
(file)
--- a/
Tools/nativelib/threads.c
+++ b/
Tools/nativelib/threads.c
@@
-22,7
+22,10
@@
tShortSpinlock glThreadListLock;
// === CODE ===
void Threads_int_Init(void)
{
- lpThreads_This = Threads_int_CreateTCB(NULL);
+ if( !lpThreads_This ) {
+ lpThreads_This = Threads_int_CreateTCB(NULL);
+ Threads_SetName("ThreadZero");
+ }
}
tThread *Proc_GetCurThread(void)
UCC
git Repository :: git.ucc.asn.au