Humble request at Walter: Could you _please_ fix phobos already?
Regan Heath
regan at netmail.co.nz
Thu Jul 19 01:15:04 PDT 2007
downs wrote:
> Chris Miller wrote:
>> On Wed, 18 Jul 2007 10:00:48 -0400, downs <default_357-line at yahoo.de>
>> wrote:
>>
>>> I don't like Tango. Going by looks and usability alone, I'd far
>>> prefer to use Phobos. However, sometimes I run into trouble with
>>> Phobos, like sockets being broken in interesting ways, the connect
>>> function not being synchronized, lack of templates in std.string ..
>>> I'm sure many of you have had similar experiences.
>>
>>
>> How are sockets broken in interesting ways, and why would connect need
>> to be synchronized? It's mostly just directly calling the BSD
>> sockets interface.
> Have you ever tried connecting to multiple sites in multiple threads
> rapidly? I don't know about your system, but it caused a segfault on my
> Win32 and it causes a segfault on my Linux.
> I'm pretty sure I debugged it once and traced it back to sock.connect
> not using threadsafe functions. I don't have the specifics though. I can
> dig them out again if you want, but my gdb is currently broken.
> --downs
connect just calls BSD connect and I don't recall that being
thread-unsafe, however calls to gethostname are, I think.
Regan
More information about the Digitalmars-d
mailing list