This worked like a charm.
http://code.activestate.com/recipes/84317-easy-threading-with-futures/
--
https://mail.python.org/mailman/listinfo/python-list
D. Xenakis gouzouna...@hotmail.com writes:
Maybe this is pretty simple but seems I am stuck...
thread_maker() == HelloWorld!
This sounds like homework... what have you tried, and what happened?
Have you looked at the docs of the threading module?
--
This sounds like homework... what have you tried, and what happened?
heheh naaah no cheating here. I just provided the example this way to make as
clear as possible what I want to do. Return the returned value from a threaded
function.
apparently this does not work as I hoped:
return
Maybe this is pretty simple but seems I am stuck...
def message_function():
return HelloWorld!
def thread_maker():
call message_function()
using a new thread
and return it's HelloWorld!
pass
Could someone please complete above script so that:
thread_maker() ==
On 2015-04-18 18:50, D. Xenakis wrote:
This sounds like homework... what have you tried, and what happened?
heheh naaah no cheating here. I just provided the example this way to make as
clear as possible what I want to do. Return the returned value from a threaded
function.
apparently this
On 04/18/2015 01:07 PM, D. Xenakis wrote:
Maybe this is pretty simple but seems I am stuck...
def message_function():
return HelloWorld!
def thread_maker():
call message_function()
using a new thread
and return it's HelloWorld!
pass
Could someone please
D. Xenakis gouzouna...@hotmail.com writes:
Have you looked at the docs of the threading module?
Lost in there
You should probably read a book about operating systems to get a sense
of how the stuff in there works. The software docs assume you're
familiar with the basic principles that you