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

[REBOL] search-for [ semaphores threads ]

From: robolinth:nodep:dds:nl at: 17-Mar-2002 21:14

Hello All, 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. There are some ways to do this, probably the architecture of the rebol/core does not allow this until now? if anyone has a good alternative I would be happy to know. I cant find any "wait-for" or threading inside rebol so that leaves me with alternatives working on a unix machine. There is only one problem! the scripts cannot/may not write to disk! So that leaves me with: * Using tcp/udp for threading * Using IPC. (dont know how to create those filesockets in rebol though :( (Which brings me to an issue, Im not sure if the RT is working on it but it would be so nice to create files and do a chmod on them...) * Using a pipe. ( well did not see an example how this could work in rebol until now.) * Last but now least, using a file as semaphore buffer. (unfortunenaty this cannot be used!) Any other suggestions are welcome! (R)egards, Norman