U++ Forum - RDF feed
https://www.ultimatepp.org/forums/
making thread
https://www.ultimatepp.org/forums/index.php?t=rview&goto=16893&th=3637#msg_16893
i want to do some threading and what i understanded is that threading is very easy
all what i want is to call a function and it will work as a thread
like that
Thread my_thread;
my_thread.Run(download_cisn);
but i dont know why this error comes ??
c:\myapps\cisnotifier\CISNotifier.h(103) : error C2065: 'Thread' : undeclared identifier
c:\myapps\cisnotifier\CISNotifier.h(103) : error C2146: syntax error : missing ';' before identifier 'my_thread']]>TeCNoYoTTa2008-07-19T18:33:54-00:00Re: making thread
https://www.ultimatepp.org/forums/index.php?t=rview&goto=16897&th=3637#msg_16897
2. Check if your configuration (top-leftmost drop box) - contains "MT". Usually it is "GUI" by default. To do multithreading you should change it to "GUI MT". To do this, click on this and press Insert, entering new line.
Is everything OK?]]>Mindtraveller2008-07-19T22:10:00-00:00Re: making thread
https://www.ultimatepp.org/forums/index.php?t=rview&goto=16914&th=3637#msg_16914
Thread my_thread;
my_thread.Run ( test );
this is the error
c:\myapps\cisnotifier\CISNotifier.h(101) : error C3867: 'CISNotifier::test': function call missing argument list; use '&CISNotifier::test'
to create a pointer to member]]>TeCNoYoTTa2008-07-20T18:04:18-00:00Re: making thread
https://www.ultimatepp.org/forums/index.php?t=rview&goto=16915&th=3637#msg_16915
It should probably be:
thread.Run(THISBACK(test))
]]>mrjt2008-07-20T19:45:19-00:00Re: making thread
https://www.ultimatepp.org/forums/index.php?t=rview&goto=16917&th=3637#msg_16917
TeCNoYoTTa2008-07-21T05:17:28-00:00