serial_unix.cpp: input/output_thread_cancel weren't initialized [Kolja Waschk]

This commit is contained in:
cebix 2001-04-08 12:21:46 +00:00
parent e0307117d2
commit 3fcce55c7d
2 changed files with 4 additions and 0 deletions

View File

@ -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]

View File

@ -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)