Add target/hosted/unix/thread-pth.c, which is a working thread implementationgnu-pth-sim-4
commitb8c1d655b2d830e4f41441f5ab8335b4d48582ad
authorThomas Martitz <thomas.martitz@student.htw-berlin.de>
Sun, 16 May 2010 10:56:15 +0000 (16 12:56 +0200)
committerThomas Martitz <thomas.martitz@student.htw-berlin.de>
Sun, 16 May 2010 10:56:15 +0000 (16 12:56 +0200)
tree825e12a1c87921a7e143ea7f6bf55214fbda7d39
parent6394f1a24856a614be66237feeb9638e5fb989ff
Add target/hosted/unix/thread-pth.c, which is a working thread implementation
using the Gnu Pth thread library. It has some advantages over SDL threads
because it's cooperative by design and supports priorities.

It's not the default yet, enable via tools/configure --with-pth
firmware/SOURCES
firmware/export/config.h
firmware/target/hosted/thread-pth.h [new file with mode: 0644]
firmware/target/hosted/unix/thread-pth.c [new file with mode: 0644]
tools/configure
uisimulator/common/io.c
uisimulator/common/stubs.c