Fix for issue #50: usage in plugins on Linux.
This commit is contained in:
parent
332003cd13
commit
5fa367c2cf
@ -317,7 +317,9 @@ static void unlock_function_rec() {
|
||||
# endif // PTHREAD_MUTEX_RECURSIVE
|
||||
|
||||
void Fl_Posix_System_Driver::awake(void* msg) {
|
||||
if (write(thread_filedes[1], &msg, sizeof(void*))==0) { /* ignore */ }
|
||||
if (thread_filedes[1]) {
|
||||
if (write(thread_filedes[1], &msg, sizeof(void*))==0) { /* ignore */ }
|
||||
}
|
||||
}
|
||||
|
||||
static void* thread_message_;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user