cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: what is the best way to preform http post request every N seconds endlessly

From: Meir Yanovich <meiry242_at_gmail.com>
Date: Wed, 2 Apr 2008 19:54:30 +0200

yes pthreads win32
http://sourceware.org/pthreads-win32/

the problem is simple :
in creating thread that takes function pointer , in this function
there is the cUrl code ( simple http post )
what more info do you need ?

On Wed, Apr 2, 2008 at 4:30 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:
> On Wed, 2 Apr 2008, Meir Yanovich wrote:
>
>
> > im working with pthreads and the http request is invoked in separate
> > thread the problem is
> >
>
> pthreads on windows? If you're doing SSL, did you add the mutex callbacks?
>
>
>
> > KERNEL32! 7c4fb252()
> > _CrtIsValidHeapPointer(const void * 0x00992dc0) line 1606
> > _free_dbg_lk(void * 0x00992dc0, int 1) line 1011 + 9 bytes
> > _free_dbg(void * 0x00992dc0, int 1) line 970 + 13 bytes
> > free(void * 0x00992dc0) line 926 + 11 bytes
> > destroy_thread_sync_data(thread_sync_data * 0x00b9ff70) line 183 + 15
> bytes
> > gethostbyname_thread(void * 0x00881140) line 321 + 9 bytes
> > _threadstartex(void * 0x00882cd0) line 212 + 13 bytes
> > KERNEL32! 7c4e987c()
> >
> > some one knows what is all about ?
> >
>
> Can you repeat the problem?
>
> --
>
> Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
>
Received on 2008-04-02