search for: _beginthread

Displaying 9 results from an estimated 9 matches for "_beginthread".

2001 Nov 11
1
can I use _beginthread and _endthread in winelib ?
hi, how can I use _beginthread with winelib (I get "undefined reference") ? thanks, -- Felix Natter
2003 Jul 26
0
compile problems with libwine
...reference to `WSAStartup' /home/andreas/src/c++/KoordKonsole2.3_wine/KoordKonsole.cpp:26: undefined reference to `WSACleanup' Network.o: In function `CPosServerSocket::Create(unsigned short, Game&)': /home/andreas/src/c++/KoordKonsole2.3_wine/Network.cpp:49: undefined reference to `_beginthread' Network.o: In function `CPosServerSocket::AcceptThread(void*)': /home/andreas/src/c++/KoordKonsole2.3_wine/Network.cpp:79: undefined reference to `_beginthread' Network.o: In function `CPosClient::Connect(char*)': /home/andreas/src/c++/KoordKonsole2.3_wine/Network.cpp:443: undefine...
2000 May 22
1
Winamp plugin compile problems and fix/docs
The winamp plugin would not compile. I am using the Cygnus environment (gcc, and a lot of other GNU utils) on Windows NT. _beginthread() is not found. That doesn't look like a function application code should ever call directly. I converted it to use CreateThread and it compiles and works. Change this: thread_handle = (HANDLE)_beginthread(DecodeThread,0, (void *)(&killDecod eThread) ); To this: thread_handle = (HANDL...
2000 Jul 29
5
ogg123 HTTP streaming
I am about to commit HTTP streaming code for ogg123. This has no relation to the discussion about "real" steaming Ogg; it just downloads and plays at the same time. But unless you have a direct T3 connection, it'll almost definately break up quite frequently. Solution? Buffer. But I have other things to work on for the rest of the day... Any screaming objections? This has been
2001 Nov 23
0
eval.c: possible issue with profiling for Windows
...the profiler thread: static void R_InitProfiling(char * filename, int append, double dinterval) { int wait; Here is the (automatic) variable. HANDLE Proc = GetCurrentProcess(); .......... wait = interval/1000; if(!(ProfileEvent = CreateEvent(NULL, FALSE, FALSE, NULL)) || (_beginthread(ProfileThread, 0, &wait) == -1)) Here the address of wait is given to the thread R_Suicide("unable to create profiling thread"); R_Profiling = 1; Here you leave your function, invalidating "wait" by freeing its memory. } Depending on the compiler (and/or hardware!)...
2007 Apr 15
1
pthreads with Darwine Xcode template? (or Wine Windows message pump + sockets + threads sample)
I am trying to run the following pthread example with the Darwine Xcode template: http://www.llnl.gov/computing/tutorials/pthreads/samples/hello.c from http://www.llnl.gov/computing/tutorials/pthreads/ Example Code - Pthread Creation and Termination But the code inside PrintHello does not appear to execute. Can you help me? What I really need is a way to handle multiple client sockets from code
2016 Feb 05
0
Wine release 1.9.3
...e1 .pfb files in Analyze(). dwrite/tests: Remove failing test line, we have skips for this now. Paul Gofman (5): mscoree: Make vtable and tokens local declarations arch independent. mscoree: Implement VTable fixup for x86_64 architecture. msvcrt: Handle of thread created by _beginthread should not be closed on thread detach. mscoree: Add FixupVTable_Assembly function which takes preloaded assembly headers. mscoree: Call native DllEntryPoint when it is defined in COR header. Pierre Schweitzer (2): mpr: Add support for REG_EXPAND_SZ for providers path. mpr/t...
2011 Jun 24
0
Wine release 1.3.23
...handling in filtergraph.c. quartz: COM cleanup for the ifaces of FilterMapper3Impl. ole32: COM cleanup for the static object ComCatMgrImpl. mscoree: COM cleanup in corruntimehost.c. Piotr Caban (17): msvcrt: Fix __p__pctype implementation. msvcrt: Avoid deadlock when _beginthread is executed inside loader critical section. comctl32: Fix area invalidated by LISTVIEW_SetItemT. comctl32: Refresh listview after sorting. comctl32: Don't redraw whole listview in double buffering mode. msvcp90: Added std::locale::facet class stub. msvcp90: Added s...
2011 May 27
0
Wine release 1.3.21
...ungetwc thread safe. msvcrt: Make FILE->_flag reading functions thread safe. msvcrt: Make FILE position related functions thread safe. msvcrt: Make FILE reading functions thread safe. msvcrt: Make FILE writing functions thread safe. msvcrt: Close thread handle when _beginthread is used. msvcrt: Reorder fields of __thread_data structure. msvcrt: Use _create_locale instead of setlocale during initialization. msvcrt: Use get_locinfo instead of get_locale. msvcrt: Change the way locale information is stored in __thread_data. msvcrt: Change the wa...