2009-07-22 05:39:28 Can't find makecontext/makecontext/makecontext
baihuawen xiao (CHINA)
Message: 77858
When I port wvstreams-4.6 for wvdial.
It always error with
tils/wvtask.cc:197: error: 'getcontext' was not declared in this scope
utils/wvtask.cc: In static member function 'static int WvTaskMan::run(WvTask&, int)':
utils/wvtask.cc:263: error: 'getcontext' was not declared in this scope
utils/wvtask.cc:269: error: 'setcontext' was not declared in this scope
utils/wvtask.cc: In static member function 'static int WvTaskMan::yield(int)':
utils/wvtask.cc:317: error: 'getcontext' was not declared in this scope
utils/wvtask.cc:323: error: 'setcontext' was not declared in this scope
utils/wvtask.cc: In static member function 'static void WvTaskMan::get_stack(WvTask&, size
_t)'
TranslateQuoteReplyEditDelete
2009-07-22 05:54:33 Re: Can't find makecontext/makecontext/makecontext
Mike Frysinger (UNITED STATES)
Message: 77859
getcontext is not in latest POSIX nor is it in uClibc. convert the implementation to pthreads instead.
QuoteReplyEditDelete
2009-11-26 08:24:23 Re: Can't find makecontext/makecontext/makecontext
david wang (CHINA)
Message: 82783
Hi, Mike
I've the same question, pls tell me how to use pthread function instead? Thanks!