Re: [gnet-dev] Unix socket unlink func
- From: David Helder <dhelder umich edu>
- To: Mark Ferlatte <ferlatte cryptio net>
- Cc: <gnet-dev gnetlibrary org>
- Subject: Re: [gnet-dev] Unix socket unlink func
- Date: Thu, 25 Oct 2001 14:43:32 -0400 (EDT)
Then why expose unix_socket_unlink? My fear is the programmer won't
understand it's called in unref and call it himself when he should call
delete/unref.
David
On Thu, 25 Oct 2001, Mark Ferlatte wrote:
> On Thu, Oct 25, 2001 at 02:21:31PM -0400, David Helder wrote:
> >
> > Ok, I see. Then why not call unix_socket_unlink from unix_socket_delete?
>
> Well, I do, kind of.
>
> unix_socket_delete() calls unix_socket_unref(), which does call
> unix_socket_unlink() if the refcount of the socket hits zero.
>
> M
>
--
__ _ __ David Helder - dhelder umich edu
___/ /__ __ __(_)__/ / <http://www.eecs.umich.edu/~dhelder>
/ _ / _ `/ |/ / / _ / Jungle Monkey: <http://www.junglemonkey.net>
|_,_/|_,_/|___/_/|_,_/ Paper CD Case: <http://www.papercdcase.com>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]