Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c++ > #124149 > unrolled thread
| Started by | Wuns Haerst <Wuns.Haerst@wurstfabrik.at> |
|---|---|
| First post | 2026-06-30 10:27 +0200 |
| Last post | 2026-07-17 15:23 +0300 |
| Articles | 20 on this page of 195 — 15 participants |
Back to article view | Back to comp.lang.c++
How to inline the main function of a thread? Wuns Haerst <Wuns.Haerst@wurstfabrik.at> - 2026-06-30 10:27 +0200
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-06-30 01:42 -0700
Re: How to inline the main function of a thread? boltar@caprica.universe - 2026-06-30 10:44 +0000
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-01 12:23 -0700
Re: How to inline the main function of a thread? boltar@caprica.universe - 2026-07-02 08:13 +0000
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-02 11:41 -0700
Re: How to inline the main function of a thread? boltar@caprica.universe - 2026-07-03 08:59 +0000
Re: How to inline the main function of a thread? scott@slp53.sl.home (Scott Lurndal) - 2026-07-03 14:41 +0000
Re: How to inline the main function of a thread? boltar@caprica.universe - 2026-07-03 15:59 +0000
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-05 13:22 -0700
Re: How to inline the main function of a thread? boltar@caprica.universe - 2026-07-06 09:29 +0000
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-06 12:31 -0700
Re: How to inline the main function of a thread? boltar@caprica.universe - 2026-07-07 10:41 +0000
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-07 15:30 -0700
Re: How to inline the main function of a thread? boltar@caprica.universe - 2026-07-08 09:38 +0000
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-08 14:13 -0700
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-03 12:44 -0700
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-03 12:45 -0700
Re: How to inline the main function of a thread? boltar@caprica.universe - 2026-07-04 09:16 +0000
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-04 17:32 -0700
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-04 17:35 -0700
Re: How to inline the main function of a thread? boltar@caprica.universe - 2026-07-05 08:19 +0000
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-05 01:21 -0700
Re: How to inline the main function of a thread? boltar@caprica.universe - 2026-07-05 15:48 +0000
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-05 13:01 -0700
Re: How to inline the main function of a thread? boltar@caprica.universe - 2026-07-06 09:28 +0000
Re: How to inline the main function of a thread? Michael S <already5chosen@yahoo.com> - 2026-07-06 21:42 +0300
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-06 12:45 -0700
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-06 12:53 -0700
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-07 15:07 -0700
Re: How to inline the main function of a thread? boltar@caprica.universe - 2026-07-07 10:40 +0000
Re: How to inline the main function of a thread? Michael S <already5chosen@yahoo.com> - 2026-07-07 20:36 +0300
Re: How to inline the main function of a thread? scott@slp53.sl.home (Scott Lurndal) - 2026-07-07 18:09 +0000
Re: How to inline the main function of a thread? Michael S <already5chosen@yahoo.com> - 2026-07-07 21:40 +0300
Re: How to inline the main function of a thread? scott@slp53.sl.home (Scott Lurndal) - 2026-07-07 22:11 +0000
Re: How to inline the main function of a thread? boltar@caprica.universe - 2026-07-08 09:34 +0000
Re: How to inline the main function of a thread? Michael S <already5chosen@yahoo.com> - 2026-07-08 22:16 +0300
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-08 14:16 -0700
Re: How to inline the main function of a thread? boltar@caprica.universe - 2026-07-09 08:55 +0000
Re: How to inline the main function of a thread? scott@slp53.sl.home (Scott Lurndal) - 2026-07-09 15:18 +0000
Re: How to inline the main function of a thread? boltar@caprica.universe - 2026-07-09 15:43 +0000
Re: How to inline the main function of a thread? scott@slp53.sl.home (Scott Lurndal) - 2026-07-10 15:32 +0000
Re: How to inline the main function of a thread? boltar@caprica.universe - 2026-07-10 16:03 +0000
Re: How to inline the main function of a thread? Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-07-09 14:07 -0700
Re: How to inline the main function of a thread? scott@slp53.sl.home (Scott Lurndal) - 2026-07-10 15:34 +0000
Re: How to inline the main function of a thread? Michael S <already5chosen@yahoo.com> - 2026-07-09 22:15 +0300
Re: How to inline the main function of a thread? boltar@caprica.universe - 2026-07-10 09:21 +0000
Re: How to inline the main function of a thread? Michael S <already5chosen@yahoo.com> - 2026-07-10 14:02 +0300
Re: How to inline the main function of a thread? boltar@caprica.universe - 2026-07-10 11:22 +0000
Re: How to inline the main function of a thread? Michael S <already5chosen@yahoo.com> - 2026-07-10 14:45 +0300
Re: How to inline the main function of a thread? boltar@caprica.universe - 2026-07-10 15:12 +0000
Re: How to inline the main function of a thread? Michael S <already5chosen@yahoo.com> - 2026-07-10 18:43 +0300
Re: How to inline the main function of a thread? boltar@caprica.universe - 2026-07-10 16:06 +0000
Re: How to inline the main function of a thread? Michael S <already5chosen@yahoo.com> - 2026-07-10 19:13 +0300
Re: How to inline the main function of a thread? boltar@caprica.universe - 2026-07-11 09:28 +0000
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-11 14:41 -0700
Re: How to inline the main function of a thread? boltar@caprica.universe - 2026-07-12 15:23 +0000
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-13 13:12 -0700
Re: How to inline the main function of a thread? boltar@caprica.universe - 2026-07-14 11:05 +0000
Re: How to inline the main function of a thread? scott@slp53.sl.home (Scott Lurndal) - 2026-07-14 14:31 +0000
Re: How to inline the main function of a thread? boltar@caprica.universe - 2026-07-14 15:42 +0000
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-10 15:33 -0700
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-10 15:33 -0700
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-08 14:15 -0700
Re: How to inline the main function of a thread? boltar@caprica.universe - 2026-07-09 08:55 +0000
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-09 12:51 -0700
Re: How to inline the main function of a thread? boltar@caprica.universe - 2026-07-10 09:22 +0000
Re: How to inline the main function of a thread? Michael S <already5chosen@yahoo.com> - 2026-07-10 14:22 +0300
Re: How to inline the main function of a thread? boltar@caprica.universe - 2026-07-10 11:24 +0000
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-10 12:32 -0700
Re: How to inline the main function of a thread? boltar@caprica.universe - 2026-07-11 09:29 +0000
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-11 14:09 -0700
Re: How to inline the main function of a thread? boltar@caprica.universe - 2026-07-12 15:15 +0000
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-12 10:58 -0700
Re: How to inline the main function of a thread? boltar@caprica.universe - 2026-07-13 09:39 +0000
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-13 13:14 -0700
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-05 13:16 -0700
Re: How to inline the main function of a thread? boltar@caprica.universe - 2026-07-06 09:29 +0000
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-06 12:49 -0700
Re: How to inline the main function of a thread? boltar@caprica.universe - 2026-07-07 10:41 +0000
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-07 15:17 -0700
Re: How to inline the main function of a thread? boltar@caprica.universe - 2026-07-08 09:38 +0000
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-08 14:17 -0700
Re: How to inline the main function of a thread? boltar@caprica.universe - 2026-07-09 08:56 +0000
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-09 12:53 -0700
Re: How to inline the main function of a thread? boltar@caprica.universe - 2026-07-10 09:24 +0000
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-10 13:36 -0700
Re: How to inline the main function of a thread? boltar@caprica.universe - 2026-07-11 09:30 +0000
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-11 14:08 -0700
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-07 15:19 -0700
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-04 23:36 -0700
Re: How to inline the main function of a thread? boltar@caprica.universe - 2026-07-05 08:21 +0000
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-05 01:22 -0700
Re: How to inline the main function of a thread? scott@slp53.sl.home (Scott Lurndal) - 2026-07-05 14:39 +0000
Re: How to inline the main function of a thread? boltar@caprica.universe - 2026-07-05 15:50 +0000
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-12 11:22 -0700
Re: How to inline the main function of a thread? boltar@caprica.universe - 2026-07-05 15:49 +0000
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-10 00:16 -0700
Re: How to inline the main function of a thread? boltar@caprica.universe - 2026-07-10 09:25 +0000
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-10 15:36 -0700
Re: How to inline the main function of a thread? boltar@caprica.universe - 2026-07-11 09:32 +0000
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-11 14:10 -0700
Re: How to inline the main function of a thread? boltar@caprica.universe - 2026-07-12 15:18 +0000
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-12 11:21 -0700
Re: How to inline the main function of a thread? boltar@caprica.universe - 2026-07-13 10:26 +0000
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-13 13:05 -0700
Re: How to inline the main function of a thread? boltar@caprica.universe - 2026-07-14 10:58 +0000
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-14 13:45 -0700
Re: How to inline the main function of a thread? boltar@caprica.universe - 2026-07-15 11:23 +0000
Re: How to inline the main function of a thread? scott@slp53.sl.home (Scott Lurndal) - 2026-07-15 14:07 +0000
Re: How to inline the main function of a thread? boltar@caprica.universe - 2026-07-15 15:54 +0000
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-15 15:51 -0700
Re: How to inline the main function of a thread? boltar@caprica.universe - 2026-07-16 10:44 +0000
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-16 12:37 -0700
Re: How to inline the main function of a thread? boltar@caprica.universe - 2026-07-17 09:26 +0000
Re: How to inline the main function of a thread? Michael S <already5chosen@yahoo.com> - 2026-07-17 13:32 +0300
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-17 12:00 -0700
Re: How to inline the main function of a thread? Michael S <already5chosen@yahoo.com> - 2026-07-18 23:12 +0300
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-18 17:15 -0700
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-18 17:18 -0700
Re: How to inline the main function of a thread? Michael S <already5chosen@yahoo.com> - 2026-07-19 04:56 +0300
Re: How to inline the main function of a thread? Michael S <already5chosen@yahoo.com> - 2026-07-19 05:00 +0300
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-19 13:54 -0700
Re: How to inline the main function of a thread? boltar@caprica.universe - 2026-07-19 07:57 +0000
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-19 13:54 -0700
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-19 13:57 -0700
Re: How to inline the main function of a thread? boltar@battlestar-galactica.com - 2026-07-20 07:51 +0000
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-20 13:15 -0700
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-18 17:37 -0700
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-16 12:40 -0700
Re: How to inline the main function of a thread? boltar@caprica.universe - 2026-07-17 09:27 +0000
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-19 13:55 -0700
Re: How to inline the main function of a thread? boltar@battlestar-galactica.com - 2026-07-20 07:49 +0000
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-20 13:16 -0700
Re: How to inline the main function of a thread? boltar@battlestar-galactica.com - 2026-07-21 15:55 +0000
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-21 13:47 -0700
Re: How to inline the main function of a thread? boltar@battlestar-galactica.com - 2026-07-21 21:13 +0000
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-21 14:28 -0700
Re: How to inline the main function of a thread? boltar@battlestar.co.uk - 2026-07-22 08:01 +0000
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-22 13:28 -0700
Re: How to inline the main function of a thread? boltar@battlestar.co.uk - 2026-07-23 15:01 +0000
Re: How to inline the main function of a thread? cross@spitfire.i.gajendra.net (Dan Cross) - 2026-07-22 01:53 +0000
Re: How to inline the main function of a thread? boltar@battlestar.co.uk - 2026-07-22 08:02 +0000
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-22 13:30 -0700
Re: How to inline the main function of a thread? Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-07-22 16:02 -0700
Re: How to inline the main function of a thread? scott@slp53.sl.home (Scott Lurndal) - 2026-07-23 15:00 +0000
Re: How to inline the main function of a thread? boltar@caprica.space - 2026-07-23 15:05 +0000
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-11 14:11 -0700
Re: How to inline the main function of a thread? boltar@caprica.universe - 2026-07-12 15:19 +0000
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-12 11:02 -0700
Re: How to inline the main function of a thread? boltar@caprica.universe - 2026-07-13 09:42 +0000
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-16 13:50 -0700
Re: How to inline the main function of a thread? Michael S <already5chosen@yahoo.com> - 2026-07-12 23:05 +0300
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-13 13:08 -0700
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-16 13:56 -0700
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-16 13:58 -0700
Re: How to inline the main function of a thread? Ross Finlayson <ross.a.finlayson@gmail.com> - 2026-07-03 10:45 -0700
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-03 12:36 -0700
Re: How to inline the main function of a thread? Tristan Wibberley <tristan.wibberley+netnews2@alumni.manchester.ac.uk> - 2026-07-28 12:50 +0100
Re: How to inline the main function of a thread? David Brown <david.brown@hesbynett.no> - 2026-06-30 11:07 +0200
Re: How to inline the main function of a thread? boltar@caprica.universe - 2026-06-30 10:46 +0000
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-01 12:25 -0700
Re: How to inline the main function of a thread? boltar@caprica.universe - 2026-07-02 08:13 +0000
Re: How to inline the main function of a thread? boltar@caprica.universe - 2026-06-30 10:41 +0000
Re: How to inline the main function of a thread? scott@slp53.sl.home (Scott Lurndal) - 2026-06-30 14:14 +0000
Re: How to inline the main function of a thread? Bonita Montero <Bonita.Montero@gmail.com> - 2026-06-30 16:30 +0200
Re: How to inline the main function of a thread? scott@slp53.sl.home (Scott Lurndal) - 2026-06-30 15:25 +0000
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-01 12:30 -0700
Re: How to inline the main function of a thread? Bonita Montero <Bonita.Montero@gmail.com> - 2026-07-05 14:03 +0200
Re: How to inline the main function of a thread? scott@slp53.sl.home (Scott Lurndal) - 2026-07-05 14:41 +0000
Re: How to inline the main function of a thread? Bonita Montero <Bonita.Montero@gmail.com> - 2026-07-05 20:08 +0200
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-05 13:05 -0700
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-05 14:03 -0700
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-05 14:36 -0700
Re: How to inline the main function of a thread? scott@slp53.sl.home (Scott Lurndal) - 2026-07-06 17:47 +0000
Re: How to inline the main function of a thread? Michael S <already5chosen@yahoo.com> - 2026-07-06 21:49 +0300
Re: How to inline the main function of a thread? Bonita Montero <Bonita.Montero@gmail.com> - 2026-07-08 15:47 +0200
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-08 14:32 -0700
Re: How to inline the main function of a thread? Bonita Montero <Bonita.Montero@gmail.com> - 2026-07-09 10:34 +0200
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-09 13:01 -0700
Re: How to inline the main function of a thread? Bonita Montero <Bonita.Montero@gmail.com> - 2026-07-10 05:58 +0200
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-12 11:19 -0700
Re: How to inline the main function of a thread? Bonita Montero <Bonita.Montero@gmail.com> - 2026-07-17 13:56 +0200
Re: How to inline the main function of a thread? Tristan Wibberley <tristan.wibberley+netnews2@alumni.manchester.ac.uk> - 2026-07-28 13:31 +0100
Re: How to inline the main function of a thread? boltar@caprica.universe - 2026-06-30 15:39 +0000
Re: How to inline the main function of a thread? Wuns Haerst <Wuns.Haerst@wurstfabrik.at> - 2026-06-30 18:00 +0200
Re: How to inline the main function of a thread? scott@slp53.sl.home (Scott Lurndal) - 2026-06-30 17:05 +0000
Re: How to inline the main function of a thread? boltar@caprica.universe - 2026-07-01 08:22 +0000
Re: How to inline the main function of a thread? Tristan Wibberley <tristan.wibberley+netnews2@alumni.manchester.ac.uk> - 2026-07-28 14:43 +0100
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-28 12:31 -0700
Re: How to inline the main function of a thread? boltar@uxvz2mpj0o8fzg70vyzzcf46nvx2.biz - 2026-07-29 08:36 +0000
Re: How to inline the main function of a thread? Michael S <already5chosen@yahoo.com> - 2026-06-30 23:29 +0300
Re: How to inline the main function of a thread? "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-07-04 23:47 -0700
Re: How to inline the main function of a thread? Wuns Haerst <Wuns.Haerst@wurstfabrik.at> - 2026-07-17 13:45 +0200
Re: How to inline the main function of a thread? Michael S <already5chosen@yahoo.com> - 2026-07-17 15:23 +0300
Page 6 of 10 — ← Prev page 1 … 4 5 [6] 7 8 … 10 Next page →
| From | boltar@caprica.universe |
|---|---|
| Date | 2026-07-11 09:32 +0000 |
| Message-ID | <112t2k8$1ufce$1@dont-email.me> |
| In reply to | #124274 |
On Fri, 10 Jul 2026 15:36:42 -0700 "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled: >On 7/10/2026 2:25 AM, boltar@caprica.universe wrote: >> On Fri, 10 Jul 2026 00:16:41 -0700 >> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled: >>> On 7/5/2026 8:49 AM, boltar@caprica.universe wrote: >>>> Why? Once its down a socket - in unix - is just an integer pointing >>>> to nothing. >>>> What difference does it make if the same value gets reused? >>>> >>> >>> TF_REUSE_SOCKET allows one to reuse a socket in a more efficient way. >>> DisconnectEx. Fairly nice! Avoid calling WSASocket again. >> >> Sounds like win32 is a whole other world. Thank god I never had to both >> with it. >> > >Fair enough. Reusing a socket is nothing new, right? On *nix a socket is simply a integer key into the lower level networking subsystem. Re-using once the link it was the key for has been closed makes no sense. You may well get the same integer value if you close a socket then open a new one but its irrelevant.
[toc] | [prev] | [next] | [standalone]
| From | "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> |
|---|---|
| Date | 2026-07-11 14:10 -0700 |
| Message-ID | <112ubfs$2bfoi$3@dont-email.me> |
| In reply to | #124278 |
On 7/11/2026 2:32 AM, boltar@caprica.universe wrote: > On Fri, 10 Jul 2026 15:36:42 -0700 > "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled: >> On 7/10/2026 2:25 AM, boltar@caprica.universe wrote: >>> On Fri, 10 Jul 2026 00:16:41 -0700 >>> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled: >>>> On 7/5/2026 8:49 AM, boltar@caprica.universe wrote: >>>>> Why? Once its down a socket - in unix - is just an integer pointing >>>>> to nothing. >>>>> What difference does it make if the same value gets reused? >>>>> >>>> >>>> TF_REUSE_SOCKET allows one to reuse a socket in a more efficient >>>> way. DisconnectEx. Fairly nice! Avoid calling WSASocket again. >>> >>> Sounds like win32 is a whole other world. Thank god I never had to >>> both with it. >>> >> >> Fair enough. Reusing a socket is nothing new, right? > > On *nix a socket is simply a integer key into the lower level networking > subsystem. Re-using once the link it was the key for has been closed > makes no sense. You may well get the same integer value if you close a > socket then > open a new one but its irrelevant. > Reusing a socket make a heck of a lot of sense indeed!
[toc] | [prev] | [next] | [standalone]
| From | boltar@caprica.universe |
|---|---|
| Date | 2026-07-12 15:18 +0000 |
| Message-ID | <1130b86$1vkhk$1@dont-email.me> |
| In reply to | #124281 |
On Sat, 11 Jul 2026 14:10:20 -0700 "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled: >On 7/11/2026 2:32 AM, boltar@caprica.universe wrote: >> On Fri, 10 Jul 2026 15:36:42 -0700 >> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled: >>> On 7/10/2026 2:25 AM, boltar@caprica.universe wrote: >>>> On Fri, 10 Jul 2026 00:16:41 -0700 >>>> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled: >>>>> On 7/5/2026 8:49 AM, boltar@caprica.universe wrote: >>>>>> Why? Once its down a socket - in unix - is just an integer pointing >>>>>> to nothing. >>>>>> What difference does it make if the same value gets reused? >>>>>> >>>>> >>>>> TF_REUSE_SOCKET allows one to reuse a socket in a more efficient >>>>> way. DisconnectEx. Fairly nice! Avoid calling WSASocket again. >>>> >>>> Sounds like win32 is a whole other world. Thank god I never had to >>>> both with it. >>>> >>> >>> Fair enough. Reusing a socket is nothing new, right? >> >> On *nix a socket is simply a integer key into the lower level networking >> subsystem. Re-using once the link it was the key for has been closed >> makes no sense. You may well get the same integer value if you close a >> socket then >> open a new one but its irrelevant. >> > >Reusing a socket make a heck of a lot of sense indeed! Maybe in Win32. On *nix its not only pointless, its meaningless. Sockets don't exist in any sense other than being an id for a connection. I suppose a hacker might like to close a connection in a hacked library , re-open a new one to their server and present the same socket id to the user application but I can't think of any other "use".
[toc] | [prev] | [next] | [standalone]
| From | "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> |
|---|---|
| Date | 2026-07-12 11:21 -0700 |
| Message-ID | <1130m00$31d8g$2@dont-email.me> |
| In reply to | #124285 |
On 7/12/2026 8:18 AM, boltar@caprica.universe wrote: > On Sat, 11 Jul 2026 14:10:20 -0700 > "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled: >> On 7/11/2026 2:32 AM, boltar@caprica.universe wrote: >>> On Fri, 10 Jul 2026 15:36:42 -0700 >>> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled: >>>> On 7/10/2026 2:25 AM, boltar@caprica.universe wrote: >>>>> On Fri, 10 Jul 2026 00:16:41 -0700 >>>>> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled: >>>>>> On 7/5/2026 8:49 AM, boltar@caprica.universe wrote: >>>>>>> Why? Once its down a socket - in unix - is just an integer >>>>>>> pointing to nothing. >>>>>>> What difference does it make if the same value gets reused? >>>>>>> >>>>>> >>>>>> TF_REUSE_SOCKET allows one to reuse a socket in a more efficient >>>>>> way. DisconnectEx. Fairly nice! Avoid calling WSASocket again. >>>>> >>>>> Sounds like win32 is a whole other world. Thank god I never had to >>>>> both with it. >>>>> >>>> >>>> Fair enough. Reusing a socket is nothing new, right? >>> >>> On *nix a socket is simply a integer key into the lower level networking >>> subsystem. Re-using once the link it was the key for has been closed >>> makes no sense. You may well get the same integer value if you close >>> a socket then >>> open a new one but its irrelevant. >>> >> >> Reusing a socket make a heck of a lot of sense indeed! > > Maybe in Win32. On *nix its not only pointless, its meaningless. Sockets > don't exist in any sense other than being an id for a connection. I suppose > a hacker might like to close a connection in a hacked library , re-open > a new one to their server and present the same socket id to the user > application > but I can't think of any other "use". > I any system. Socket reuse is ideal. Why make a new one?
[toc] | [prev] | [next] | [standalone]
| From | boltar@caprica.universe |
|---|---|
| Date | 2026-07-13 10:26 +0000 |
| Message-ID | <1132egd$2p0l6$1@dont-email.me> |
| In reply to | #124291 |
On Sun, 12 Jul 2026 11:21:52 -0700 "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled: >On 7/12/2026 8:18 AM, boltar@caprica.universe wrote: >> On Sat, 11 Jul 2026 14:10:20 -0700 >> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled: >>> On 7/11/2026 2:32 AM, boltar@caprica.universe wrote: >>>> On Fri, 10 Jul 2026 15:36:42 -0700 >>>> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled: >>>>> On 7/10/2026 2:25 AM, boltar@caprica.universe wrote: >>>>>> On Fri, 10 Jul 2026 00:16:41 -0700 >>>>>> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled: >>>>>>> On 7/5/2026 8:49 AM, boltar@caprica.universe wrote: >>>>>>>> Why? Once its down a socket - in unix - is just an integer >>>>>>>> pointing to nothing. >>>>>>>> What difference does it make if the same value gets reused? >>>>>>>> >>>>>>> >>>>>>> TF_REUSE_SOCKET allows one to reuse a socket in a more efficient >>>>>>> way. DisconnectEx. Fairly nice! Avoid calling WSASocket again. >>>>>> >>>>>> Sounds like win32 is a whole other world. Thank god I never had to >>>>>> both with it. >>>>>> >>>>> >>>>> Fair enough. Reusing a socket is nothing new, right? >>>> >>>> On *nix a socket is simply a integer key into the lower level networking >>>> subsystem. Re-using once the link it was the key for has been closed >>>> makes no sense. You may well get the same integer value if you close >>>> a socket then >>>> open a new one but its irrelevant. >>>> >>> >>> Reusing a socket make a heck of a lot of sense indeed! >> >> Maybe in Win32. On *nix its not only pointless, its meaningless. Sockets >> don't exist in any sense other than being an id for a connection. I suppose >> a hacker might like to close a connection in a hacked library , re-open >> a new one to their server and present the same socket id to the user >> application >> but I can't think of any other "use". >> > >I any system. Socket reuse is ideal. Why make a new one? Its just a data structure. At best all you're save is a single memory allocation.
[toc] | [prev] | [next] | [standalone]
| From | "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> |
|---|---|
| Date | 2026-07-13 13:05 -0700 |
| Message-ID | <1133ge3$3s3f5$1@dont-email.me> |
| In reply to | #124296 |
On 7/13/2026 3:26 AM, boltar@caprica.universe wrote: > On Sun, 12 Jul 2026 11:21:52 -0700 > "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled: >> On 7/12/2026 8:18 AM, boltar@caprica.universe wrote: >>> On Sat, 11 Jul 2026 14:10:20 -0700 >>> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled: >>>> On 7/11/2026 2:32 AM, boltar@caprica.universe wrote: >>>>> On Fri, 10 Jul 2026 15:36:42 -0700 >>>>> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled: >>>>>> On 7/10/2026 2:25 AM, boltar@caprica.universe wrote: >>>>>>> On Fri, 10 Jul 2026 00:16:41 -0700 >>>>>>> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled: >>>>>>>> On 7/5/2026 8:49 AM, boltar@caprica.universe wrote: >>>>>>>>> Why? Once its down a socket - in unix - is just an integer >>>>>>>>> pointing to nothing. >>>>>>>>> What difference does it make if the same value gets reused? >>>>>>>>> >>>>>>>> >>>>>>>> TF_REUSE_SOCKET allows one to reuse a socket in a more efficient >>>>>>>> way. DisconnectEx. Fairly nice! Avoid calling WSASocket again. >>>>>>> >>>>>>> Sounds like win32 is a whole other world. Thank god I never had >>>>>>> to both with it. >>>>>>> >>>>>> >>>>>> Fair enough. Reusing a socket is nothing new, right? >>>>> >>>>> On *nix a socket is simply a integer key into the lower level >>>>> networking >>>>> subsystem. Re-using once the link it was the key for has been >>>>> closed makes no sense. You may well get the same integer value if >>>>> you close a socket then >>>>> open a new one but its irrelevant. >>>>> >>>> >>>> Reusing a socket make a heck of a lot of sense indeed! >>> >>> Maybe in Win32. On *nix its not only pointless, its meaningless. Sockets >>> don't exist in any sense other than being an id for a connection. I >>> suppose >>> a hacker might like to close a connection in a hacked library , re- >>> open a new one to their server and present the same socket id to the >>> user application >>> but I can't think of any other "use". >>> >> >> I any system. Socket reuse is ideal. Why make a new one? > > Its just a data structure. At best all you're save is a single memory > allocation. > Its more than just a data structure. WSASocket needs to set it up. Init it. Saving that is a good thing.
[toc] | [prev] | [next] | [standalone]
| From | boltar@caprica.universe |
|---|---|
| Date | 2026-07-14 10:58 +0000 |
| Message-ID | <11354o8$246ha$1@dont-email.me> |
| In reply to | #124297 |
On Mon, 13 Jul 2026 13:05:23 -0700 "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled: >On 7/13/2026 3:26 AM, boltar@caprica.universe wrote: >> Its just a data structure. At best all you're save is a single memory >> allocation. >> > >Its more than just a data structure. WSASocket needs to set it up. Init >it. Saving that is a good thing. And it'll need to set it up again for a new connection unless its identical to the previous one which is unlikely but then it would still have to check the values to find out and update them if wrong, hardly efficient. Hence all its rarely saving is a malloc() of a blank socket structure, the cost of which in the process of setting up a network connection, particularly TCP, is statistical noise.
[toc] | [prev] | [next] | [standalone]
| From | "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> |
|---|---|
| Date | 2026-07-14 13:45 -0700 |
| Message-ID | <113675g$mfns$1@dont-email.me> |
| In reply to | #124301 |
On 7/14/2026 3:58 AM, boltar@caprica.universe wrote: > On Mon, 13 Jul 2026 13:05:23 -0700 > "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled: >> On 7/13/2026 3:26 AM, boltar@caprica.universe wrote: >>> Its just a data structure. At best all you're save is a single memory >>> allocation. >>> >> >> Its more than just a data structure. WSASocket needs to set it up. >> Init it. Saving that is a good thing. > > And it'll need to set it up again for a new connection unless its identical > to the previous one which is unlikely but then it would still have to check > the values to find out and update them if wrong, hardly efficient. Huh? It saves a lot of work wrt closesocket, and calling WSASocket again. Why not reuse the existing structure brought back into a certian state such that it can be used with AcceptEx or ConnectEx again and totally avoid calling WSASocket... > Hence > all its rarely saving is a malloc() of a blank socket structure, the > cost of which > in the process of setting up a network connection, particularly TCP, is > statistical noise. > No. Its more than that.
[toc] | [prev] | [next] | [standalone]
| From | boltar@caprica.universe |
|---|---|
| Date | 2026-07-15 11:23 +0000 |
| Message-ID | <1137qjn$14lpg$1@dont-email.me> |
| In reply to | #124305 |
On Tue, 14 Jul 2026 13:45:36 -0700 "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled: >On 7/14/2026 3:58 AM, boltar@caprica.universe wrote: >> On Mon, 13 Jul 2026 13:05:23 -0700 >> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled: >>> On 7/13/2026 3:26 AM, boltar@caprica.universe wrote: >>>> Its just a data structure. At best all you're save is a single memory >>>> allocation. >>>> >>> >>> Its more than just a data structure. WSASocket needs to set it up. >>> Init it. Saving that is a good thing. >> >> And it'll need to set it up again for a new connection unless its identical >> to the previous one which is unlikely but then it would still have to check >> the values to find out and update them if wrong, hardly efficient. > >Huh? It saves a lot of work wrt closesocket, and calling WSASocket I have no idea what "work" windows does with sockets but as I've said more than once, on unix a socket is just an id number used to link userspace to the kernel network subsystem. Once the network connection is closed or put into TIME_WAIT all you're left with is a useless integer hence re-use is irrelevant and in fact there's every chance it'll be re-issued for another socket, pipe, file whatever very soon. >again. Why not reuse the existing structure brought back into a certian >state such that it can be used with AcceptEx or ConnectEx again and >totally avoid calling WSASocket... Sounds like a lot of userspace nonsense that is specific to win32.
[toc] | [prev] | [next] | [standalone]
| From | scott@slp53.sl.home (Scott Lurndal) |
|---|---|
| Date | 2026-07-15 14:07 +0000 |
| Message-ID | <2vM5S.99125$auO2.14308@fx05.iad> |
| In reply to | #124306 |
boltar@caprica.universe writes: >On Tue, 14 Jul 2026 13:45:36 -0700 >"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled: >>Huh? It saves a lot of work wrt closesocket, and calling WSASocket > >I have no idea what "work" windows does with sockets but as I've said more >than once, on unix a socket is just an id number used to link userspace to Specifically, the socket(2) system call returns a standard file descriptor that can be used with the other file-related system calls such as read, write, poll/select, ioctl, etc.
[toc] | [prev] | [next] | [standalone]
| From | boltar@caprica.universe |
|---|---|
| Date | 2026-07-15 15:54 +0000 |
| Message-ID | <1138afd$27bts$1@dont-email.me> |
| In reply to | #124307 |
On Wed, 15 Jul 2026 14:07:58 GMT scott@slp53.sl.home (Scott Lurndal) gabbled: >boltar@caprica.universe writes: >>On Tue, 14 Jul 2026 13:45:36 -0700 >>"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled: > >>>Huh? It saves a lot of work wrt closesocket, and calling WSASocket >> >>I have no idea what "work" windows does with sockets but as I've said more >>than once, on unix a socket is just an id number used to link userspace to > >Specifically, the socket(2) system call returns a standard file descriptor >that can be used with the other file-related system calls such as read, >write, poll/select, ioctl, etc. Indeed. Windows OTOH appears to have a specific C struct for sockets which seems unnecessarily complicated.
[toc] | [prev] | [next] | [standalone]
| From | "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> |
|---|---|
| Date | 2026-07-15 15:51 -0700 |
| Message-ID | <11392su$1htnq$1@dont-email.me> |
| In reply to | #124308 |
On 7/15/2026 8:54 AM, boltar@caprica.universe wrote: > On Wed, 15 Jul 2026 14:07:58 GMT > scott@slp53.sl.home (Scott Lurndal) gabbled: >> boltar@caprica.universe writes: >>> On Tue, 14 Jul 2026 13:45:36 -0700 >>> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled: >> >>>> Huh? It saves a lot of work wrt closesocket, and calling WSASocket >>> >>> I have no idea what "work" windows does with sockets but as I've said more >>> than once, on unix a socket is just an id number used to link userspace to >> >> Specifically, the socket(2) system call returns a standard file descriptor >> that can be used with the other file-related system calls such as read, >> write, poll/select, ioctl, etc. > > Indeed. Windows OTOH appears to have a specific C struct for sockets which seems > unnecessarily complicated. > Avoiding another call to WSASocket is beneficial.
[toc] | [prev] | [next] | [standalone]
| From | boltar@caprica.universe |
|---|---|
| Date | 2026-07-16 10:44 +0000 |
| Message-ID | <113acln$1t3gi$1@dont-email.me> |
| In reply to | #124309 |
On Wed, 15 Jul 2026 15:51:10 -0700 "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled: >On 7/15/2026 8:54 AM, boltar@caprica.universe wrote: >> On Wed, 15 Jul 2026 14:07:58 GMT >> scott@slp53.sl.home (Scott Lurndal) gabbled: >>> boltar@caprica.universe writes: >>>> On Tue, 14 Jul 2026 13:45:36 -0700 >>>> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled: >>> >>>>> Huh? It saves a lot of work wrt closesocket, and calling WSASocket >>>> >>>> I have no idea what "work" windows does with sockets but as I've said more >>>> than once, on unix a socket is just an id number used to link userspace to >>> >>> Specifically, the socket(2) system call returns a standard file descriptor >>> that can be used with the other file-related system calls such as read, >>> write, poll/select, ioctl, etc. >> >> Indeed. Windows OTOH appears to have a specific C struct for sockets which >seems >> unnecessarily complicated. >> > >Avoiding another call to WSASocket is beneficial. If windows didn't have a userspace struct representing a socket it wouldn't be needed in the first place.
[toc] | [prev] | [next] | [standalone]
| From | "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> |
|---|---|
| Date | 2026-07-16 12:37 -0700 |
| Message-ID | <113bbth$27vdr$1@dont-email.me> |
| In reply to | #124310 |
On 7/16/2026 3:44 AM, boltar@caprica.universe wrote: > On Wed, 15 Jul 2026 15:51:10 -0700 > "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled: >> On 7/15/2026 8:54 AM, boltar@caprica.universe wrote: >>> On Wed, 15 Jul 2026 14:07:58 GMT >>> scott@slp53.sl.home (Scott Lurndal) gabbled: >>>> boltar@caprica.universe writes: >>>>> On Tue, 14 Jul 2026 13:45:36 -0700 >>>>> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled: >>>> >>>>>> Huh? It saves a lot of work wrt closesocket, and calling WSASocket >>>>> >>>>> I have no idea what "work" windows does with sockets but as I've >>>>> said more >>>>> than once, on unix a socket is just an id number used to link >>>>> userspace to >>>> >>>> Specifically, the socket(2) system call returns a standard file >>>> descriptor >>>> that can be used with the other file-related system calls such as read, >>>> write, poll/select, ioctl, etc. >>> >>> Indeed. Windows OTOH appears to have a specific C struct for sockets >>> which >> seems >>> unnecessarily complicated. >>> >> >> Avoiding another call to WSASocket is beneficial. > > If windows didn't have a userspace struct representing a socket it wouldn't > be needed in the first place. > I thought that Linux has a socket reuse thing as well? Anyway... You should tell MS that. I was lucky enough to be able to talk to some Windows kernel guys. Iirc, one of them was Neill Clift way back on comp.programming.threads. If I am on Windows I use IOCP and use all of it, all the bells ans whistles. If I am on Linux, I would use io_uring for SURE!
[toc] | [prev] | [next] | [standalone]
| From | boltar@caprica.universe |
|---|---|
| Date | 2026-07-17 09:26 +0000 |
| Message-ID | <113csfr$2m482$1@dont-email.me> |
| In reply to | #124311 |
On Thu, 16 Jul 2026 12:37:20 -0700 "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled: >On 7/16/2026 3:44 AM, boltar@caprica.universe wrote: >> On Wed, 15 Jul 2026 15:51:10 -0700 >> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled: >>> On 7/15/2026 8:54 AM, boltar@caprica.universe wrote: >>>> On Wed, 15 Jul 2026 14:07:58 GMT >>>> scott@slp53.sl.home (Scott Lurndal) gabbled: >>>>> boltar@caprica.universe writes: >>>>>> On Tue, 14 Jul 2026 13:45:36 -0700 >>>>>> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled: >>>>> >>>>>>> Huh? It saves a lot of work wrt closesocket, and calling WSASocket >>>>>> >>>>>> I have no idea what "work" windows does with sockets but as I've >>>>>> said more >>>>>> than once, on unix a socket is just an id number used to link >>>>>> userspace to >>>>> >>>>> Specifically, the socket(2) system call returns a standard file >>>>> descriptor >>>>> that can be used with the other file-related system calls such as read, >>>>> write, poll/select, ioctl, etc. >>>> >>>> Indeed. Windows OTOH appears to have a specific C struct for sockets >>>> which >>> seems >>>> unnecessarily complicated. >>>> >>> >>> Avoiding another call to WSASocket is beneficial. >> >> If windows didn't have a userspace struct representing a socket it wouldn't >> be needed in the first place. >> > >I thought that Linux has a socket reuse thing as well? Anyway... I've already explained that SO_REUSEADDR simply allows a new listen socket to listen on an interface+port combination while the previous listen socket is still in TIME_WAIT. It has nothing to do with re-using a socket. >You should tell MS that. I was lucky enough to be able to talk to some >Windows kernel guys. Iirc, one of them was Neill Clift way back on >comp.programming.threads. > >If I am on Windows I use IOCP and use all of it, all the bells ans >whistles. If I am on Linux, I would use io_uring for SURE! Which has nothing to do with re-using sockets.
[toc] | [prev] | [next] | [standalone]
| From | Michael S <already5chosen@yahoo.com> |
|---|---|
| Date | 2026-07-17 13:32 +0300 |
| Message-ID | <20260717133209.00002177@yahoo.com> |
| In reply to | #124311 |
On Thu, 16 Jul 2026 12:37:20 -0700 "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> wrote: > > If I am on Windows I use IOCP and use all of it, all the bells ans > whistles. If I am on Linux, I would use io_uring for SURE! > Hopefully after that you measure performance, discover that it's either exactly the same speed as simple code or, more likely, slower and then you throw complicated crap into trash can, where it belongs. Well, probably I am hoping for too much.
[toc] | [prev] | [next] | [standalone]
| From | "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> |
|---|---|
| Date | 2026-07-17 12:00 -0700 |
| Message-ID | <113du5b$31ghj$1@dont-email.me> |
| In reply to | #124318 |
On 7/17/2026 3:32 AM, Michael S wrote: > On Thu, 16 Jul 2026 12:37:20 -0700 > "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> wrote: >> >> If I am on Windows I use IOCP and use all of it, all the bells ans >> whistles. If I am on Linux, I would use io_uring for SURE! >> > > Hopefully after that you measure performance, discover that it's either > exactly the same speed as simple code or, more likely, slower and then > you throw complicated crap into trash can, where it belongs. > Well, probably I am hoping for too much. Well, when in Rome? IOCP on Windows is the way to write a server, or a client for that matter. On my free time I am slowly but surely recreating my old proxy server code from around 2002. So far mostly from memory. Some of the API's are messing me up a little. Hard to remember them. On Linux AIO or io_uring. The fun part is that they have very similar logic to IOCP.
[toc] | [prev] | [next] | [standalone]
| From | Michael S <already5chosen@yahoo.com> |
|---|---|
| Date | 2026-07-18 23:12 +0300 |
| Message-ID | <20260718231208.00003f79@yahoo.com> |
| In reply to | #124322 |
On Fri, 17 Jul 2026 12:00:55 -0700 "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> wrote: > On 7/17/2026 3:32 AM, Michael S wrote: > > On Thu, 16 Jul 2026 12:37:20 -0700 > > "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> wrote: > >> > >> If I am on Windows I use IOCP and use all of it, all the bells ans > >> whistles. If I am on Linux, I would use io_uring for SURE! > >> > > > > Well, when in Rome? IOCP on Windows is the way to write a server, or > a client for that matter. On my free time I am slowly but surely > recreating my old proxy server code from around 2002. So far mostly > from memory. Some of the API's are messing me up a little. Hard to > remember them. > > On Linux AIO or io_uring. The fun part is that they have very similar > logic to IOCP. So you never measure if complicated code is faster than the simple one or not. Somehow, it's what I expected.
[toc] | [prev] | [next] | [standalone]
| From | "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> |
|---|---|
| Date | 2026-07-18 17:15 -0700 |
| Message-ID | <113h4v0$3vqu1$2@dont-email.me> |
| In reply to | #124329 |
On 7/18/2026 1:12 PM, Michael S wrote: > On Fri, 17 Jul 2026 12:00:55 -0700 > "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> wrote: > >> On 7/17/2026 3:32 AM, Michael S wrote: >>> On Thu, 16 Jul 2026 12:37:20 -0700 >>> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> wrote: >>>> >>>> If I am on Windows I use IOCP and use all of it, all the bells ans >>>> whistles. If I am on Linux, I would use io_uring for SURE! >>>> >>> >> >> Well, when in Rome? IOCP on Windows is the way to write a server, or >> a client for that matter. On my free time I am slowly but surely >> recreating my old proxy server code from around 2002. So far mostly >> from memory. Some of the API's are messing me up a little. Hard to >> remember them. >> >> On Linux AIO or io_uring. The fun part is that they have very similar >> logic to IOCP. > > > So you never measure if complicated code is faster than the simple one > or not. > Somehow, it's what I expected. > > Why do you assume that? IOCP is WAY more efficient than using say, select, or the event based thing using WaitForMultipleObjects. AIO or io_uring is way more efficient than using select, even epoll iirc. If you are building a robust server that is meant to scale up, we need these API's.
[toc] | [prev] | [next] | [standalone]
| From | "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> |
|---|---|
| Date | 2026-07-18 17:18 -0700 |
| Message-ID | <113h558$3vqu1$3@dont-email.me> |
| In reply to | #124331 |
On 7/18/2026 5:15 PM, Chris M. Thomasson wrote: > On 7/18/2026 1:12 PM, Michael S wrote: >> On Fri, 17 Jul 2026 12:00:55 -0700 >> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> wrote: >> >>> On 7/17/2026 3:32 AM, Michael S wrote: >>>> On Thu, 16 Jul 2026 12:37:20 -0700 >>>> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> wrote: >>>>> >>>>> If I am on Windows I use IOCP and use all of it, all the bells ans >>>>> whistles. If I am on Linux, I would use io_uring for SURE! >>>> >>> >>> Well, when in Rome? IOCP on Windows is the way to write a server, or >>> a client for that matter. On my free time I am slowly but surely >>> recreating my old proxy server code from around 2002. So far mostly >>> from memory. Some of the API's are messing me up a little. Hard to >>> remember them. >>> >>> On Linux AIO or io_uring. The fun part is that they have very similar >>> logic to IOCP. >> >> >> So you never measure if complicated code is faster than the simple one >> or not. >> Somehow, it's what I expected. >> >> > > Why do you assume that? IOCP is WAY more efficient than using say, > select, or the event based thing using WaitForMultipleObjects. AIO or > io_uring is way more efficient than using select, even epoll iirc. > > If you are building a robust server that is meant to scale up, we need > these API's. Back in the day, 20+ years ago I experimented with all sort of completion techniques. Worst by far is the thread per connection crap. It does not scale at all. Actually, WaitForMultipleObjects worked kind of okay but we must remember to scramble or shift the objects in the array to avoid starvation. select did not scale, etc... IOCP on Windows is bar none, the way to go.
[toc] | [prev] | [next] | [standalone]
Page 6 of 10 — ← Prev page 1 … 4 5 [6] 7 8 … 10 Next page →
Back to top | Article view | comp.lang.c++
csiph-web