Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss
Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

[Q] RPCD server Internals

7 views
Skip to first unread message

Michael T. Peterson

unread,
Aug 5, 1995, 3:00:00 AM8/5/95
to
Well, I've got the public domain rpcd and its set of client/server test
programs working on Linux so now the fun begins. I'm beginning to run into
some questions that are not covered in the internals doc that comes with the
kit, nor seems adequately addressed in the comments. So, here are the first
of probably many naive questions.

The threads package I wrote (so that this port can be accomplished) is heavily
instrumented. One feature of its instrumentation is that it detects when
threads terminate but still have one or more mutexes locked. Well, that is
exactly what appears to be happening. These threads execute the following
call tree:

rpc_server_listen()
rpc__nlsn_activate_desc()
pthd4_cancel() < DCE compatibility macro
pthread_cancel()
pthread_testcancel()

In the pthread_testcancel() routine, the thread runtime accepts the cancel and
terminates the thread (yes, I've been told that this behavior is acceptable
by POSIX -- Someone correct me if my understanding is incorrect).
Unfortunately, the thread being terminated holds a locked mutex and a message
to this effect gets logged to stdout.

Is this intended behavior?

Second question: From the comments in comnlns.c in the lthread_loop() function
I am assuming that the call to select is assumed to be blocking because the
code sets async cancellability to ON prior to calling select and OFF
immediately
following its return. Is this also intended? In general, what assumptions
does
the DCE RPC library code make vis non-blocking I/O? What are the requirements
it has of the underlying threads facility?

Thanks in advance for any help you may be able to provide. So far, this stuff
is really cool.

/mtp
--
+-----------------------------------------------------------------------+
| Michael T. Peterson | The hell you say. My opinions are my own |
| http://www.aa.net/~mtp/ | and worth every damn cent you paid. |
+-----------------------------------------------------------------------+


buyphar...@gmail.com

unread,
Aug 19, 2013, 6:33:04 AM8/19/13
to
Mifekit -MTP kit is a successful way of preventing pregnancy. This medication has the effective combination of two medicines called Mifepristone and Misoprostol. This medication should not be used by pregnant women or those women who wants pregnancy. Use this medication only after discussing to the doctor. You can buy Mifekit -MTP kit from Drug Pill Store in very cost effective rate.

New York

Call Us on our TOLL FREE Customer Services Number. 1-855-251-3111

E - Mail - drugpillstore@gmail

Website - http://www.drugpillstore.com/birth-control-drugs-online/mifepristone-with-misoprostol.html
0 new messages