Re: Pthread ThreadPool



In the execute task function I need to be able to redirect one of the
threads to executing a function from the task structure. There is a
function pointer I need the pthread to jump to. Not really sure how to
do this. Any help would be greatly appreciated.

see my answer on comp.programming.threads. If you need to post to
several Newsgroups, then cross-post instead of posting separately the
same message X times.

Cheers,
Loic.

.



Relevant Pages

  • Re: Pthread ThreadPool
    ... threads to executing a function from the task structure. ... function pointer I need the pthread to jump to. ...
    (comp.programming.threads)
  • Re: Exception in GWES.EXE hangs the system
    ... How will a JUMP to a NULL function pointer cause the RA to be 0? ... instead of a return to the correct instruction. ... (l'indirizzo di reply di questo messaggio non è ...
    (microsoft.public.windowsce.platbuilder)
  • Re: which is better "switch" or "if-else"
    ... A jump table is a array of <key, function pointer> records. ... the table becomes an array of function pointers. ... I use a switch statment. ...
    (comp.lang.c)
  • Re: Execute binary code
    ... Chris Mellon wrote: ... the OP gave is that it's a compiled binary, which you can't just "jump ... You may have to offset the function pointer so the entry point becomes ...
    (comp.lang.python)