guess what i just did hehe - lol
libpthreadGC2.a pthreadGC2.dll
#include <pthread.h>
#include <unistd.h>
C:\mirc614\irc\timer.h|12|warning: control reaches end of non-void function
[-Wreturn-type]|
but that should be expected - its a timer ?
EXECUTE //dll m### [at] hdll testimer@24
Library Loaded
1744830464
waiting - Error = 0
Executing Thread2 after 5
1744830464
^^^^^^^^^^ module
I GOT THREADS in WINDOZE - they said it couldn't be done in C.
used mingw time.h
/* pthread.h remove
struct timespec {
time_t tv_sec;
long tv_nsec;
}; */
struct timespec
{ /* Period is sum of tv_sec + tv_nsec; while 32-bits is sufficient
* to accommodate tv_nsec, we use 64-bit __time64_t for tv_sec, to
* ensure that we have a sufficiently large field to accommodate
* Microsoft's ambiguous __time32_t vs. __time64_t representation
* of time_t; we may resolve this ambiguity locally, by casting a
* pointer to a struct timespec to point to an identically sized
* struct __mingw32_timespec, which is defined below.
*/
__time64_t tv_sec; /* seconds; accept 32 or 64 bits */
__int32 tv_nsec; /* nanoseconds */
};
oh and error handling on the HSV HSL input dialog
Post a reply to this message
Attachments:
Download 'screen.jpg' (131 KB)
Preview of image 'screen.jpg'
|