|
I too am researching using threads. I need a single job to wait at both a data queue and a socket. Currently I have two jobs. The first uses a select() to wait at a socket and the second sits at data queue. The second has a socket connection to the first. The transactions received via the data queue are sent down the socket connection. I want to combine these two jobs into one. I also want the receiver thread to write directly to the sockets. Hopefully someone has experience with multi-threading.
Christopher K. Bipes mailto:ChrisB@Cross-Check.com
Sr. Programmer/Analyst mailto:Chris_Bipes@Yahoo.com
CrossCheck, Inc. http://www.cross-check.com
6119 State Farm Drive Phone: 707 586-0551 x 1102
Rohnert Park CA 94928 Fax: 707 586-1884
If consistency is the hobgoblin of little minds, only geniuses work here. Karen Herbelin - Readers Digest 3/2000
-----Original Message-----
From: Ray Nainy [mailto:ray_456@hotmail.com]
Sent: Wednesday, February 28, 2001 8:02 AM
To: RPG400-L@midrange.com
Subject: Multithreaded Programming
Hi All,
I need some help on creating an application(RPG/CL) which can use
multithreads while running the job.
Can anyone give me some direction with examples.
thanks in advance,
Ray.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.