Do you have a question? Post it now! No Registration Necessary
Subject
- Posted on
read serial interfaces inside of a thread
- 08-17-2005
- Juergen Querengaesser
August 17, 2005, 7:09 am

Hello,
I want to read/write 10 serial interfaces inside of a thread (one after
another in the thread-function, but in the thread). It seems to work,
but sometimes my program hangs. I wonder if the read/write-thread might
the cause.
Does the libc is thread-safe for reading/writing the serial lines (or
generally reading/writing device files)?
Libs which are used:
libstdc++-3-libc6.2-2-2.10.0.so
libc.so.6
libpthread.so.0
Thanks in advance,
Juergen
I want to read/write 10 serial interfaces inside of a thread (one after
another in the thread-function, but in the thread). It seems to work,
but sometimes my program hangs. I wonder if the read/write-thread might
the cause.
Does the libc is thread-safe for reading/writing the serial lines (or
generally reading/writing device files)?
Libs which are used:
libstdc++-3-libc6.2-2-2.10.0.so
libc.so.6
libpthread.so.0
Thanks in advance,
Juergen
Site Timeline
- » Sleep about one microsecond and outb on 0x80
- — Next thread in » Embedded Linux
-
- » small footprint of SSL libs
- — Previous thread in » Embedded Linux
-
- » Crosscompiling for ARM: reloc type R_ARM_ABS32 is not supported for PIC - ...
- — Newest thread in » Embedded Linux
-
- » VHDL i wyÅ›wietlacze 7-seg.
- — The site's Newest Thread. Posted in » Electronics (Polish)
-
- » homemade or low cost circuit board/ battery box shield?
- — The site's Last Updated Thread. Posted in » Electronics Repair
-