Hi Mariano, 2009/12/30 Mariano Martinez Peck <marianopeck@gmail.com>:
4. Multitasking, green threads, ... There are really missing some pointers, howto code e.g. a background process that is fetching some data from e.g. MySQL or reading/writing large files, sending data over network - Â without freezing the GUI.
[ self writeLargeFile ] fork
This is not actually true if the database driver has to use FFI to communicate to an external librarym since FFI locks the complete VM while a function is being executed. So, in certain percentage, he is right.
I think sometimes this depends of the library itself, for example in the ZOOM API for the Z39.50 protocol you may specify an async parameter in the connection mode for operating asynchronously, then you would have non-blocking calls with the exception of event polling. Cheers, Hernán