not a native English speaker writer. If
someone has a suggestion where and how the documentation can be made clearer,
feel free to make suggestions.
Ralf S. Engelschall
[EMAIL PROTECTED
standardized and portable) functions, etc. Please feel free to make more
suggestions in this optimization direction.
Greetings,
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
I've now
written such a pth_system() function. The source is appended below. You
can use this in your own source until Pth 1.4a4 is released.
Yours,
Ralf S. Engelschall
[EMAIL PROTECTED
];
};
...
pth_msgport_t mp;
struct mymessage msg;
msg.buf[0] = 0;
pth_msgport_put(mp, (pth_message_t *)msg);
...
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
eries soon, too. Thanks for your feedback and
contribution.
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
.
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
__
GNU Portable Threads (Pth)http://www.gnu.org/software/pth/
User Support
.
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
__
GNU Portable Threads (Pth)http://www.gnu.org/software/pth/
User Support Mailing
environment of my
OSSP project. This is solved in a couple of days when I've established
Anonymous-CVS access to OSSP.
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
at various places inside Pth's internals if Pth changes its
structures. But start hacking at pth_mctx.c...
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
think it
would be sufficient if libc is dynamically linked, but Pth itself is
still allowed to be statically included in the application, right?
Ralf S. Engelschall
[EMAIL PROTECTED
to get rid of the obsolete references
to PTH_FLAG_NOJOIN, while the Postscript still has the references
left in.
Fixed.
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
forces --enable-syscall-soft.
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
__
GNU Portable Threads (Pth
or higher. An example you can find in test_uctx.c. Documentation is in
pth.pod.
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
.tar.gz The complete ChangeLog
you can find under http://cvs.ossp.org/pkg/lib/pth/ChangeLog. Please
give feedback to make GNU Pth 2.0 as good as it can be.
Yours,
Ralf S. Engelschall
[EMAIL PROTECTED
not specify -ldl.
You have to use pth-config --all --libs to also get external
dependency libs, too.
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
it a try, please.
http://www.ossp.org/pkg/lib/pth/
http://cvs.ossp.org/pkg/lib/pth/ChangeLog
ftp://ftp.ossp.org/pkg/lib/pth/pth-2.0b1.tar.gz
Yours,
Ralf S. Engelschall
[EMAIL PROTECTED
On Tue, Nov 12, 2002, Jason Evans wrote:
On Fri, Nov 08, 2002 at 09:36:52PM +0100, Ralf S. Engelschall wrote:
Thanks for your feedback. Even more integrated fixes and changes now
await our testing. After mostly rewriting pth_poll(3) and pth_select(3)
in order to be more POSIX.1-2001/SUSv3
(ftp://ftp.ossp.org/pkg/lib/pth/) and use even hard
syscall mapping. This should give Pth better possibility to inject
itself into the MySQL code.
Ralf S. Engelschall
[EMAIL PROTECTED
On Sat, Nov 30, 2002, Joseph Wayne Norton wrote:
The following patch fixes a few minor compiler warnings for the
following platform and configure options.
[...]
Fixed now for 2.0b2: http://cvs.ossp.org/chngview?cn=2940
Thanks for your feedback.
Ralf S
I've today flushed more pending changes and released the
result as GNU Pth 2.0b2. Try it out and give feedback, please.
You can find it at: ftp://ftp.ossp.org/pkg/lib/pth/
Ralf S. Engelschall
[EMAIL PROTECTED
to make sure I've not missed
an important issue.
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
__
GNU
that this particular Autoconf test is not run at all.
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
/
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
__
GNU Portable Threads (Pth)http://www.gnu.org/software/pth
with
it).
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
__
GNU Portable Threads (Pth)http://www.gnu.org
test_common.c in the Pth source tree. It provides a
pth_readline() function (just a small but sufficient buffered wrapper
around pth_read()) which should do exactly what you want.
Ralf S. Engelschall
[EMAIL PROTECTED
levels or other functions uses large
buffers on the stack, this is no problem. But if you require really lots
of stack space, you should be careful or at least spawn the Pth threads
with a larger stack size.
Ralf S. Engelschall
for true portability and non-preemtive scheduling.
But usually that's just a matter of programming discipline... ;-)
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
? (I would assume so, if you're using a global select under
the covers.)
Sure, if _all_ threads are waiting for an event, the whole process is
waiting. And yes, internally the whole event management is based on a
single select(2) call.
Ralf S. Engelschall
your va_arg() is confused by the function
pointer type. Under what OS and C compiler are you trying this?
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
would be
to catch SIGINTR in the loop and break out of the loop.
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
Another maintenance release of GNU Pth 2.0 is available:
GNU Pth 2.0.2. See ChangeLog entries below for details.
Fetch it from:
o ftp://ftp.gnu.org/gnu/pth/
o ftp://ftp.ossp.org/pkg/lib/pth/
Yours,
Ralf S. Engelschall
, but the proper syntax is just
subscribe pth-users. The variant with the second subscribe argument
is just required if your sender and subscriber addresses should be
different.
Ralf S. Engelschall
[EMAIL PROTECTED
contexts (pth_init)? The test/example (test_uctx.c) does not seem to do
any initialization.
No, the pth_uctx_xxx() sub-API is fully self-contained.
You don't have to initialize Pth via pth_init() for it to work.
Ralf S. Engelschall
|___/ http://kogs-www.informatik.uni-hamburg.de/~utcke/home.html
- End forwarded message -
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
34 matches
Mail list logo