From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,c96afc4bd5bda0f0 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local1.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail NNTP-Posting-Date: Mon, 17 Jan 2005 17:17:42 -0600 From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: Gnat 3.4.2 tasking errorcodes windows References: X-Newsreader: Tom's custom newsreader Message-ID: Date: Mon, 17 Jan 2005 17:17:42 -0600 NNTP-Posting-Host: 67.161.24.234 X-Trace: sv3-r5JVRXzEjzZcg+G1wisu0i0lLKlVyti9xzIEXSq+tKD1ejptWaSldgsuUSvNlM+9pZBL1Xpj5MvO4A1!kKWxE2qQ4PjP1x2YpHzvI3t3RDVCA9zOcuUFaCB13nMk3wTVdoGmMquAekB2CA== X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.22 Xref: g2news1.google.com comp.lang.ada:7883 Date: 2005-01-17T17:17:42-06:00 List-Id: >I wouldn't expect that to work. WSAGetLastError isn't necessarily >thread-safe: I believe that there is only one global copy per process. Are you sure of that? The docs I have, and relied on, say "Note that errors are thread-specific". If that's not true, then it's pure luck if a multi-thread socket app manages to work. Good luck is not something I normally base a design on.