comparison w32thread.c @ 6469:6815571afbcf libavcodec

__stdcall -> WINAPI Windows x64 has no __stdcall. It is not yet supported, but someday it might...
author ramiro
date Fri, 07 Mar 2008 19:47:44 +0000
parents b0a566346fb1
children a9734fe0811e
comparison
equal deleted inserted replaced
6468:87a1f7c172b0 6469:6815571afbcf
34 void *arg; 34 void *arg;
35 int ret; 35 int ret;
36 }ThreadContext; 36 }ThreadContext;
37 37
38 38
39 static unsigned __stdcall attribute_align_arg thread_func(void *v){ 39 static unsigned WINAPI attribute_align_arg thread_func(void *v){
40 ThreadContext *c= v; 40 ThreadContext *c= v;
41 41
42 for(;;){ 42 for(;;){
43 //printf("thread_func %X enter wait\n", (int)v); fflush(stdout); 43 //printf("thread_func %X enter wait\n", (int)v); fflush(stdout);
44 WaitForSingleObject(c->work_sem, INFINITE); 44 WaitForSingleObject(c->work_sem, INFINITE);