does gconv issue system calls ?
Pierre Habouzit
madcoder@debian.org
Sat Jan 12 00:23:00 GMT 2008
On Fri, Jan 11, 2008 at 08:35:07AM +0000, Metuki Sabhe wrote:
> hi all...
>
> I am trying to understand better the internals of glibc,
> and was wondering about the gconv subsystem -
> is it pure user-space work (sounds logical) or does
> it issue system calls (i will be surprised if yes) ?
It mostly uses read/writes to read files, and uses mmap extensively
too. As it also malloc's, it's possible to use some mmaps from there
too. Also, to achieve thread-safety I _think_ there is some locking,
which could end up calling futex(2). Here are the ones that come to
mind, I probably miss a couple of other things too.
--
·O· Pierre Habouzit
··O madcoder@debian.org
OOO http://www.madism.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20080112/95833d34/attachment.sig>
More information about the Libc-alpha
mailing list