apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luke Kenneth Casson Leighton <l...@samba-tng.org>
Subject Re: [xad] TNG services and FreeDCE development
Date Tue, 09 Oct 2001 02:05:30 GMT
On Mon, Oct 08, 2001 at 06:09:32PM -0700, Howard Chu wrote:
> > -----Original Message-----
> > From: owner-xad@PADL.COM [mailto:owner-xad@PADL.COM]On Behalf Of Luke
> > Kenneth Casson Leighton
> 
> > development time estimates for TNG / dcerpc.net project tasks
> >
> > dcethreads:
> >
> > portability rewrite       50? (to use Apache Runtime Library for
> > preference)
> > pthreads rewrite         200? (2nd preference: cut out dcethreads)
> 
> Can you give me a bit more detail on this? In particular, I need to decide
> whether to try to port freedce to Solaris or get Sun's commercial DCE
> implementation
> instead, and try to make it all play together. What is the issue with the
> current dcethreads code? (I haven't looked at the freedce source tree yet.)

the current dcethreads library is an addition to the suite
of POSIX draft 4 emulation libraries, and the original focus
of dcethreads was to add to that suite w.r.t linux, which
was _not_ included, as linux wasn't _around_ when OSF started
DCE :)

so you may find that you don't need dcethreads, you may be
able to #define SOLARIS and compile from there, and not even
_use_ dcethreads.  you'll have to check the code.

dcethreads is a user-space emulation library on top of
sigsetjmp and siglongjump.  it is horrible, but it works.

personally, as i am doing this development without funding
at present, and my skills are on NT / unix interoperability,
as long as i have _a_ library, and _a_ platform on which
that library works, i am not the best person to ask w.r.t.
getting other OSes to work: i'll focus on the common bits
in my area of expertise.

i do, however, know of, and have been gently encouraging,
some other people to develop, relace or rewrite dcethreads,
plus there _is_ a possibility to do away with dcethreads
and use modern posix threads instead.

the disadvantage of that is that we lose thread cancellation,
which POSIX draft 4, and therefore dcethreads, provides.

given that most OSes don't support thread cancellation
without some sort of problems such as instability and
memory loss in the kernel (i.e. solaris), that's not such
a big deal.

luke.


Mime
View raw message