Commit Graph

8 Commits (0633e5cac981cf6433baeea581b34461e3f82dc2)

Author SHA1 Message Date
Ryan Dahl 4279725d79 Fix thread flags on Solaris
Also on other platforms use -pthread for compiling commands not just
linking because I noticed in the gcc(1) man page

  -pthread
      Adds support for multithreading with the pthreads library. This
      option sets flags for both the preprocessor and linker.

Removing the errno check in deps/coupling because it was a hack
(e165859c2e) added to fix stdio problems.
Without adding -threads, errno is not thread local, and coupling was not
correctly checking the errno. It appears -mt does nothing to gcc/solaris.
2010-03-31 13:44:36 -07:00
Ryan Dahl d52f63d9b2 fix whitespcae in deps/coupling 2010-03-31 11:27:57 -07:00
Ryan Dahl e165859c2e Fix coupling error on Solaris
Was getting a lot of

  push_pump read(): Resource temporarily unavailable

Apparently Solaris can return read() < 0 but errno == 0 to indicate a
EAGAIN?
2010-03-02 20:39:38 +00:00
Ryan Dahl fe85062046 Bugfix: blocked pumping in stdio coupling
This should fix the test in c05b5d8 by Mikeal Rogers.
2010-02-05 17:14:14 -08:00
Ryan Dahl 13793aed20 Add Makefiles which were forgotten. 2009-10-03 22:48:44 +02:00
Ryan b0a362a727 Fix coupling problems on OSX 2009-08-25 13:33:19 +02:00
Ryan aa664c8040 Add close() to coupling pump. Wasn't getting EOF. 2009-08-25 12:56:54 +02:00
Ryan 17c6a67f15 Introduce node.stdio
Remove old stdout, stderr, stdin objects.
2009-08-24 21:20:26 +02:00