From mboxrd@z Thu Jan 1 00:00:00 1970 From: cinap_lenrek@gmx.de (cinap_lenrek at gmx.de) Date: Sat, 19 Mar 2011 00:20:12 +0100 Subject: [9fans] new dial, cs and dns for ipv6 In-Reply-To: <6030ca036e779c5485206f8027ec1376@gmx.de> Message-ID: Topicbox-Message-UUID: bceecabe-ead6-11e9-9d60-3106f5b1d025 theres a first attempt of a parallel dial implementation that doesnt need shared memory to coordinate the the spawning: /n/sources/contrib/cinap_lenrek/dial.c it will run at maximum Maxconcurr connects in parallel at a time until there are no more addresses to connect to left, a connection is established or it got interrupted. if there is only one address, it will not fork and do synchronous connect. its not more complicated than the shared memory version in my opinion and will work with libthread programs without any tricks. -- cinap