This patch defines Win32 thread primitives. Actually it consists of the following files:

threads.h.diff
thr_windows.h.diff
threads.t.diff
timer.t.diff

The patch had been applied, I mananged to pass all the tests from t/pmc/thread.reast and t/pmc/timer.t but thread_4.pasm(don't know yet why it fails)

The other files are needed the patch to compile and work properly:

events.c.diff - contains fix for correct deteremination of the tv_nsec value. Now it is always equal to zero.
imcc.l.diff, imcc.y.diff et al - contain a dirty hack which prefixes the CONST lexeme with underscore, otherwise CONST conflicts with MACRO from windows header files. Probably the solution wwould be to prefix all the lexemes with IMCC_ or whatever. Prefixing should be done for thread primitives either.

Attachment: events.c.diff
Description: Binary data


Attachment: imcc.l.diff
Description: Binary data

Attachment: imcc.y.diff
Description: Binary data

Attachment: imclexer.c.diff
Description: Binary data

Attachment: imcparser.c.diff
Description: Binary data

Attachment: imcparser.h.diff
Description: Binary data

Attachment: main.c.diff
Description: Binary data

Attachment: thr_windows.h.diff
Description: Binary data

Attachment: threads.h.diff
Description: Binary data

Attachment: threads.t.diff
Description: Binary data

Attachment: timer.t.diff
Description: Binary data

Reply via email to