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