mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-12-25 17:29:19 +00:00
serial_unix.cpp: input/output_thread_cancel weren't initialized [Kolja Waschk]
This commit is contained in:
parent
e0307117d2
commit
3fcce55c7d
BasiliskII
@ -1,6 +1,8 @@
|
||||
V0.9 - <insert date here>
|
||||
- added help for command line arguments, PrefsInit() now removes
|
||||
all processed options
|
||||
- serial_unix.cpp: input/output_thread_cancel weren't initialized
|
||||
[Kolja Waschk]
|
||||
- Unix: some performance improvements to VOSF screen update code
|
||||
[Brian J. Johnson]
|
||||
- Unix: -Ofast option is supplied to MIPSPro compiler [Brian J. Johnson]
|
||||
|
@ -208,6 +208,8 @@ int16 XSERDPort::open(uint16 config)
|
||||
configure(config);
|
||||
|
||||
// Start input/output threads
|
||||
input_thread_cancel = false;
|
||||
output_thread_cancel = false;
|
||||
if (sem_init(&input_signal, 0, 0) < 0)
|
||||
goto open_error;
|
||||
if (sem_init(&output_signal, 0, 0) < 0)
|
||||
|
Loading…
Reference in New Issue
Block a user