format, and fix platform
git-svn-id: file:///raid/svn-personal/tewi/trunk@104 8739d7e6-ffea-ec47-b151-bdff447c6205
This commit is contained in:
parent
7119126027
commit
7fc3ad43a7
|
@ -833,11 +833,11 @@ void tw_server_loop(void) {
|
|||
if(threads[j].used) {
|
||||
thread_info info;
|
||||
bool kill = false;
|
||||
if(get_thread_info(threads[j].thread, &info) == B_OK){
|
||||
}else{
|
||||
if(get_thread_info(threads[j].thread, &info) == B_OK) {
|
||||
} else {
|
||||
kill = true;
|
||||
}
|
||||
if(kill){
|
||||
if(kill) {
|
||||
threads[j].used = false;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@ const char* tw_version = TW_VERSION;
|
|||
|
||||
const char* tw_platform =
|
||||
#if defined(PLATFORM)
|
||||
PLATFORMM
|
||||
PLATFORM
|
||||
#elif defined(__NetBSD__)
|
||||
"NetBSD"
|
||||
#elif defined(__linux__)
|
||||
|
|
Loading…
Reference in New Issue
Block a user