Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#1226 Multi Process rxqueue not working

None
invalid
David Ashley
None
none
1
2014-04-15
2013-12-20
David Ashley
No

This is with the latest 4.2.0 build on Fedora. When one process places items on the queue via the rxqueue program those items do not appear on the queue when another process queries the queue with the queued() builtin function. For instance, the following code shows zero items available on the queue when run from the command line (provided there are files in the current directory).

ls * | rxqueue
rexx -e "say queued()"

Discussion

  • Rick McGuire
    Rick McGuire
    2013-12-20

    Is this problem specific to Fedora, or does it fail other *ix variants as well?

     
  • Rick McGuire
    Rick McGuire
    2013-12-20

    If I understand what you are doing correctly, you are just typing those commands at the command line? That will never work. When a session queue is created, it only survives as long as the process that created it is around. In your case, that is the lifespan of the rxqueue filter. Processes will inherit a session queue from a running rexx process, so an ls command issued from a rexx program that redirects to rxqueue will add the lines to the same session queue of the calling rexx program. That queue will stick around until the original creating process terminates (e.g., the running rexx program).

     
  • David Ashley
    David Ashley
    2013-12-20

    Rick pointed out this will never work. My bad, should have read the docs before I waved a red flag.

     


Anonymous


Cancel   Add attachments