[CCC DEV] Polling

Martin Ellis ellism88 at gmail.com
Thu Jul 19 14:55:56 BST 2012


Is there any reason you can't use a SKIP?


> PROC sccMesh.recv(CHAN SCCMSG out!)
>   INT coreID, string.length, success:
>   [64]BYTE buffer:
>   WHILE TRUE
>     SEQ
>       coreID := 0
>       c.sccMesh.recv(coreID, string.length, buffer, success) -- wrapper
> process around FFI function
>       IF
>         success > 0
>           out ! coreID; string.length::buffer
>         TRUE
             SKIP
> :

--
Martin



More information about the developers mailing list