If you are running unix, you could have an email alias run a script
  that triggers the phantom, then to start the phantom, just have
  unix send an email to that address.

George

> -----Original Message-----
> From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-
> us...@listserver.u2ug.org] On Behalf Of Tom Whitmore
> Sent: Thursday, February 26, 2009 7:57 AM
> To: u2-users@listserver.u2ug.org
> Subject: [U2] Inter-Process Control...
>
> We have two phantom processes.  The first phantom needs to wait for an
> event
> to occur with the second phantom.  I realize that I could have the
> first
> phantom loop, check, then sleep.  However, I'd like to avoid wasting
> resources.  Back on the Prime, I could use semaphores, to control this
> flow
> and this was clean, and simple.  Has anyone come across a means of
> having a
> phantom wait on "something", so it only wakes up when it needs to
> perform its
> function?
>
> To try to explain better:
>
> Phantom1:
> Loop
>   Wait on semaphore
>   Perform a shared process  (batch updates would be an example)
> Repeat
>
>
> Phantom2 (3, 4, ...):
> Loop
>   Process records
>   Notify semaphore
> Repeat
>
> Thanks,
> Tom Whitmore
> RATEX Business Solutions
> -------
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to