Thread (38 messages) flat view 38 messages, 10 authors, 2016-08-13

Re: [msysGit] [PATCH 07/14] Fix __stdcall/WINAPI placement and function prototype

From: Johannes Sixt <hidden>
Date: 2016-06-15 22:47:17

On Freitag, 21. August 2009, Marius Storm-Olsen wrote:
-static __stdcall unsigned ticktack(void *dummy)
+static unsigned WINAPI ticktack(void *dummy)
-static __stdcall unsigned run_thread(void *data)
+static unsigned WINAPI run_thread(void *data)
These two are not nice. As I said in an earlier mail: The documentation says 
that the thread function pointer that is passed to _beginthreadex must have 
__stdcall calling convention. Therefore, you should not change these to 
WINAPI.

-- Hannes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help