search for: ptw32_handle_t

Displaying 1 result from an estimated 1 matches for "ptw32_handle_t".

2013 Feb 13
1
vorbis-tools 1.4.0, ogg123 and MinGW
...ith MinGW ( from http://www.mingw.org ). It builds except for the ogg123 program. Even though there's an --enable-threads=win32 for configure, doesn't look like it does anything. On MinGW a pthread_t is defined as a struct not an int: typedef struct { void * p; unsigned int x; } ptw32_handle_t; typedef ptw32_handle_t pthread_t; The configure test to check if pthreads is available is: int main () { pthread_t th; pthread_join(th, 0); pthread_attr_init(0); pthread_cleanup_push(0, 0); pthread_create(0,0,0,0); pthread_cancel(0);...