Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: Mutli-threading

From: petr:krenzelok:trz:cz at: 13-Mar-2003 11:47

Maarten Koopmans wrote:
> BTW, Gabriele, > > Please explain it ;-)
Hello Maarten. Maybe one and a half year ago, I met Holger at IOS (Express at that time) conference and I asked him about async network IO. He mentioned to me that is nearly ready, but rebol level protocols + support funcs would have to be rewritten. So my assumption is - latest releases contain full async IO already, but I can be wrong of course. Look at rmp-init source parts (cantained in Link client) if not port/port-id [ port/port-id: either direct [2997] [80] ] ; but you remember - we should not touch those things, as they may change in the future :-) ------- either obj/server-mode [ obj/port-handler: :rmp-listen-handler port/async-modes: 'accept open/direct/binary port ] [ as you can see, under the hood there seem to be some way of how to handle connections, but we wait for following syntax mentioned by Holger: image: open/async :my-callback voila, and console is freed and all stuff downloaded in the background and once data is received, your defined callback function is called ... or so was the idea .... The question is, how high is rewrite of protocols and other stuff that may be necessary to get it fully working is high on RT's priority list ... Cheers, -pekr-