This is the mail archive of the
ecos-cvs@sources.redhat.com
mailing list for the ecos project.
ecos/packages/io/serial/current ChangeLog src/ ...
- From: asl at sourceware dot org
- To: ecos-cvs at ecos dot sourceware dot org
- Date: 20 Jun 2005 18:15:00 -0000
- Subject: ecos/packages/io/serial/current ChangeLog src/ ...
CVSROOT: /cvs/ecos
Module name: ecos
Changes by: asl@sourceware.org 2005-06-20 18:15:00
Modified files:
packages/io/serial/current: ChangeLog
packages/io/serial/current/src/common: serial.c
Log message:
* src/common/serial.c (serial_select): Lock DSRs inside
serial_select() as the serial DSR calls functions manipulating the
cbuf structs, leading to a race condition. Also use the mutex to
avoid races between different threads.