search for: async_send

Displaying 6 results from an estimated 6 matches for "async_send".

2016 Jun 12
2
[RFC] LLVM Coroutines
...stroyer) Coroutine is considered suspended means that it is legal to use coro.done, coro.resume, coro.destroy intrinsics (either in this thread or in a different one). It may seem strange, but, consider this example: task<void> f() { char buf[N]; ... fill buff with stuff await async_send(buf); // <suspend-point> ... do more } IR for await expression will be (conceptually): %0 = coro.save() async_send(%buf) coro.suspend(%0) coro.save is the point when coroutine is considered suspended. This allows async_send to resume the coroutine even before async_send returne...
2016 Jun 11
4
[RFC] LLVM Coroutines
On Fri, Jun 10, 2016 at 5:25 PM, Gor Nishanov <gornishanov at gmail.com> wrote: > Hi Eli: > > >> Naively, you would expect that it would be legal to hoist the store... > >> but that breaks your coroutine semantics because the global could be > mutated > >> between the first return and the resume. > > Hmmm... I don't see the problem. I think
2007 Dec 14
0
async-observer rails plugin
...all about async-observer: http://async-observer.rubyforge.org/ Talk about async-observer development or use on the beanstalk mailing list at: http://groups.google.com/group/beanstalk-talk HOW TO USE IT ------------- Here''s some example code. Want to call a method asynchronously? obj.async_send(:method_name, arg1, arg2) Want to define an asynchronous after_create hook? class Person async_after_create do |person| logger.info "created a person: #{person.id}" end end It''s that easy! For all the gory configuration details, see the web site. DEPENDENCY ---------...
2016 Jun 12
2
[RFC] LLVM Coroutines
(Dropped llvm-dev by accident. Putting it back) HI Eli: >> coro.barrier() doesn't work: if the address of the alloca doesn't escape, >> alias analysis will assume the barrier can't read or write the value of >> the alloca, so the barrier doesn't actually block code movement. Got it. I am new to this and learning a lot over the course of this thread. Thank you
2011 Apr 08
0
Wine release 1.2.3
...sh translation to UTF-8. sane.ds: Convert Norwegian translation to UTF-8. gphoto2.ds: Fix German translation. sane.ds: Fix translation of microsecond. include: Add winhttp secure protocol flags. include: Add more minor shutdown reasons. Aric Stewart (2): ws2_32: async_send with no buffers does not need to do any work. user32: Remove SetWindowText export. Austin English (3): ntdll: Bump win2k3 version information to sp2. urlmon: Add stubs for ordinals 410 and 423. msiexec: Add /unreg as an alias for /z. Charles Davis (2): ntdll: Fix IOC...
2011 Mar 18
0
Wine release 1.3.16
...ws2_32: Downgrade FIXME for WS_SIO_SET_COMPATIBILITY_MODE to a TRACE. advapi32/tests: Add some skips. kernel32/tests: Also test for ntdll.dll in toolhelp tests. Andy Norris (1): winealsa: Add support for alsa cards without a PCM mixer (only Line). Aric Stewart (6): ws2_32: async_send with no buffers does not need to do any work. user32: Remove SetWindowText export. usp10: Corrections to ScriptCPtoX. usp10: Update ScriptCPtoX to handle RTL runs. usp10: Correct fTrailing handling for RTL runs in ScriptCPtoX. usp10: Rewrite of ScriptXtoCP to handle pw...