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

[REBOL] Re: search-for [ semaphores threads ]

From: joel:neely:fedex at: 17-Mar-2002 21:12

Hi, Norman, [Robolinth--nodep--dds--nl] wrote:
> Running into a issue where I would like to > have 1 rebol script wait for the other rebol script. > Or: script 1 calculates, script 2 needs to pick it up. > > ... the scripts cannot/may not write to disk! > So that leaves me with: > > * Using tcp/udp for threading > * Using IPC. > * Using a pipe. >
Is it necessary to use two separate scripts? Would you be able to combine them using something like the last example in http://www.rebolforces.com/articles/ria2.html for example? Do the two scripts/processes need to interact via a strict producer/consumer pattern? -jn- -- ; Joel Neely joeldotneelyatfedexdotcom REBOL [] do [ do func [s] [ foreach [a b] s [prin b] ] sort/skip do function [s] [t] [ t: "" foreach [a b] s [repend t [b a]] t ] { | e s m!zauafBpcvekexEohthjJakwLrngohOqrlryRnsctdtiub} 2 ]