[Issue 4365] Shared receive for all waitable objects

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Aug 23 22:15:07 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=4365


Vladimir Panteleev <thecybershadow at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |thecybershadow at gmail.com
         Resolution|                            |WONTFIX


--- Comment #1 from Vladimir Panteleev <thecybershadow at gmail.com> 2011-08-23 22:15:02 PDT ---
Heh, the coveted One True Event Loop... unless you can get select() and
whatever synchronization primitives various platforms use to play together,
this isn't going to happen. Since you've decided to mention that you work for
Microsoft, let's look at Windows specifically - I don't see a
WSASelectAndWaitForMultipleObjects function anywhere. You'll just need to put
your event loops in different threads and make one pass its events to whichever
you pick as your "main" one (or alternatively, use a lock on the global state
and process events in the same thread).

If anyone has any realistic ideas, feel free to reopen.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list