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 | 15 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 10 of 10 — ← Prev page 1 … 8 9 [10]
| From | Bonita Montero <Bonita.Montero@gmail.com> |
|---|---|
| Date | 2026-07-10 05:58 +0200 |
| Message-ID | <112pqlc$tps9$1@raubtier-asyl.eternal-september.org> |
| In reply to | #124247 |
Am 09.07.2026 um 22:01 schrieb Chris M. Thomasson: > On 7/9/2026 1:34 AM, Bonita Montero wrote: >> Am 08.07.2026 um 23:32 schrieb Chris M. Thomasson: >> >>> Not sure if a processor group can work with the power management or >>> not. I think it can. >> >> OMG, what a nonsense. > > Not sure what MS means wrt: > > https://windowsreport.com/windows-11-hidden-cpu-setting-unlocks- > advanced-performance-and-power-controls/ > > https://learn.microsoft.com/en-us/windows/win32/procthread/cpu-sets > > "CPU Sets provide APIs to declare application affinity in a 'soft' > manner that is compatible with OS power management. " CPU-affinities are a different topic.
[toc] | [prev] | [next] | [standalone]
| From | "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> |
|---|---|
| Date | 2026-07-12 11:19 -0700 |
| Message-ID | <1130lr0$31d8g$1@dont-email.me> |
| In reply to | #124251 |
On 7/9/2026 8:58 PM, Bonita Montero wrote: > Am 09.07.2026 um 22:01 schrieb Chris M. Thomasson: >> On 7/9/2026 1:34 AM, Bonita Montero wrote: >>> Am 08.07.2026 um 23:32 schrieb Chris M. Thomasson: >>> >>>> Not sure if a processor group can work with the power management or >>>> not. I think it can. >>> >>> OMG, what a nonsense. >> >> Not sure what MS means wrt: >> >> https://windowsreport.com/windows-11-hidden-cpu-setting-unlocks- >> advanced-performance-and-power-controls/ >> >> https://learn.microsoft.com/en-us/windows/win32/procthread/cpu-sets >> >> "CPU Sets provide APIs to declare application affinity in a 'soft' >> manner that is compatible with OS power management. " > > CPU-affinities are a different topic. > I can be the only way Windows can have power management wrt not wanting a certain cpu set to get hot. Or a gpu set... Heck the TDS! Iirc, the timeout on windows that can terminate a compute shader before its done computing!
[toc] | [prev] | [next] | [standalone]
| From | Bonita Montero <Bonita.Montero@gmail.com> |
|---|---|
| Date | 2026-07-17 13:56 +0200 |
| Message-ID | <113d593$2p0tt$1@raubtier-asyl.eternal-september.org> |
| In reply to | #124205 |
Am 06.07.2026 um 19:47 schrieb Scott Lurndal: > You can limit a process to a set of cores, or an individual core > with taskset and/or numactl. These have been available since the > early 2000's. Combine that with setrlimit(2) and you have failry > fined grained control of both core assignment and utilization. With setrlimit() it's not possible what I've mentioned. Or show me how to reduce the CPU-time consumed by a thread or a thread group over a time interval. That's only possible with control groups on current Linuxes.
[toc] | [prev] | [next] | [standalone]
| From | Tristan Wibberley <tristan.wibberley+netnews2@alumni.manchester.ac.uk> |
|---|---|
| Date | 2026-07-28 13:31 +0100 |
| Message-ID | <114a7ec$1ms$3@dont-email.me> |
| In reply to | #124156 |
On 30/06/2026 15:30, Bonita Montero wrote: > Am 30.06.2026 um 16:14 schrieb Scott Lurndal: > >> Don't bother. It's been done, more than once. See, for example, >> Unixware 2.0. It turns out that userspace thread scheduling >> does not perform as well as kernel-based thread scheduling. > > Fiber-like context-switchs are *much* faster than through the kernel. > The problem with that is you don't have any context switchs among > your "threads" when you run kernel-code. > Oracle does user-level scheduling and solves the kernel-issue by > never calling any blocking kernel-calls. IIRC: 14 nanoseconds 10 years ago with linux ucontexts. I had 10 nanosecond function calls. -- Tristan Wibberley The message body is Copyright (C) 2026 Tristan Wibberley except citations and quotations noted. All Rights Reserved except that you may, of course, cite it academically giving credit to me, distribute it verbatim as part of a usenet system or its archives, and use it to promote my greatness and general superiority without misrepresentation of my opinions other than my opinion of my greatness and general superiority which you _may_ misrepresent. You definitely MAY NOT train any production AI system with it but you may train experimental AI that will only be used for evaluation of the AI methods it implements.
[toc] | [prev] | [next] | [standalone]
| From | boltar@caprica.universe |
|---|---|
| Date | 2026-06-30 15:39 +0000 |
| Message-ID | <1120nvd$16hqh$1@dont-email.me> |
| In reply to | #124155 |
On Tue, 30 Jun 2026 14:14:47 GMT scott@slp53.sl.home (Scott Lurndal) gabbled: >Wuns Haerst <Wuns.Haerst@wurstfabrik.at> writes: >>I measured the time it takes to create a thread on both Windows and >>Linux. On Windows, it takes around 120,000 clock cycles, whereas on >>Linux, it takes about a third of that. >>It occurred to me that one could simply inline the thread's main >>function. This would eliminate the need for the operating system >>call to create the thread. In this scenario, the compiler — or its >>runtime — would have to handle the scheduling. >>I estimate that this would reduce the thread creation overhead to >>just a few clock cycles, making thread pools unnecessary. I’m just >>not sure yet exactly how to go about implementing this. Perhaps >>someone here can help me with it. >>Please send any relevant suggestions via email only, as I intend >>to patent this idea once it is fully developed. > >Don't bother. It's been done, more than once. See, for example, >Unixware 2.0. It turns out that userspace thread scheduling >does not perform as well as kernel-based thread scheduling. Java of course being a prime example with its green threads.
[toc] | [prev] | [next] | [standalone]
| From | Wuns Haerst <Wuns.Haerst@wurstfabrik.at> |
|---|---|
| Date | 2026-06-30 18:00 +0200 |
| Message-ID | <1120p6m$16uug$1@raubtier-asyl.eternal-september.org> |
| In reply to | #124158 |
Am 30.06.2026 um 17:39 schrieb boltar@caprica.universe: > On Tue, 30 Jun 2026 14:14:47 GMT >> Don't bother. It's been done, more than once. See, for example, >> Unixware 2.0. It turns out that userspace thread scheduling >> does not perform as well as kernel-based thread scheduling. > Java of course being a prime example with its green threads. According to Wikipedia Java had green threads between 1997 and 2000.
[toc] | [prev] | [next] | [standalone]
| From | scott@slp53.sl.home (Scott Lurndal) |
|---|---|
| Date | 2026-06-30 17:05 +0000 |
| Message-ID | <OHS0S.4$saQb.1@fx38.iad> |
| In reply to | #124159 |
Wuns Haerst <Wuns.Haerst@wurstfabrik.at> writes:
>Am 30.06.2026 um 17:39 schrieb boltar@caprica.universe:
>
>> On Tue, 30 Jun 2026 14:14:47 GMT
>
>>> Don't bother. It's been done, more than once. See, for example,
>>> Unixware 2.0. It turns out that userspace thread scheduling
>>> does not perform as well as kernel-based thread scheduling.
>
>> Java of course being a prime example with its green threads.
>
>According to Wikipedia Java had green threads between 1997 and 2000.
Only on linux. Java on SunOS/Solaris/Unixware used Unix[*] threads.
[*] Unix threads were multi-level M:N threads supporting a user
space thread manager multiplexing M user threads on N underlying
light-weight-processes (LWPs - AKA kernel threads). The app
could configure the ratio as 1:1, and I suspect, but cannot
confirm, that Java used 1:1 threads on the Unix(R) systems.
When 1003.4 was being developed, such thread multiplexing
was proposed, but ultimately wasn't included in the
POSIX thread specification.
[toc] | [prev] | [next] | [standalone]
| From | boltar@caprica.universe |
|---|---|
| Date | 2026-07-01 08:22 +0000 |
| Message-ID | <1122ina$1nmju$1@dont-email.me> |
| In reply to | #124160 |
On Tue, 30 Jun 2026 17:05:50 GMT scott@slp53.sl.home (Scott Lurndal) gabbled: >Wuns Haerst <Wuns.Haerst@wurstfabrik.at> writes: >>Am 30.06.2026 um 17:39 schrieb boltar@caprica.universe: >> >>> On Tue, 30 Jun 2026 14:14:47 GMT >> >>>> Don't bother. It's been done, more than once. See, for example, >>>> Unixware 2.0. It turns out that userspace thread scheduling >>>> does not perform as well as kernel-based thread scheduling. >> >>> Java of course being a prime example with its green threads. >> >>According to Wikipedia Java had green threads between 1997 and 2000. > >Only on linux. Java on SunOS/Solaris/Unixware used Unix[*] threads. IIRC threads on linux up until kernel 3 were actually seperate processes with a behind the scenes userspace hack to share process data. No idea why threads weren't built into the kernel from the start, perhaps too complicated or Linus didn't see the point of them.
[toc] | [prev] | [next] | [standalone]
| From | Tristan Wibberley <tristan.wibberley+netnews2@alumni.manchester.ac.uk> |
|---|---|
| Date | 2026-07-28 14:43 +0100 |
| Message-ID | <114abm5$3gsb$1@dont-email.me> |
| In reply to | #124163 |
On 01/07/2026 09:22, boltar@caprica.universe wrote:
> On Tue, 30 Jun 2026 17:05:50 GMT
> scott@slp53.sl.home (Scott Lurndal) gabbled:
>> Wuns Haerst <Wuns.Haerst@wurstfabrik.at> writes:
>>> Am 30.06.2026 um 17:39 schrieb boltar@caprica.universe:
>>>
>>>> On Tue, 30 Jun 2026 14:14:47 GMT
>>>
>>>>> Don't bother. It's been done, more than once. See, for example,
>>>>> Unixware 2.0. It turns out that userspace thread scheduling
>>>>> does not perform as well as kernel-based thread scheduling.
>>>
>>>> Java of course being a prime example with its green threads.
>>>
>>> According to Wikipedia Java had green threads between 1997 and 2000.
>>
>> Only on linux. Java on SunOS/Solaris/Unixware used Unix[*] threads.
>
> IIRC threads on linux up until kernel 3 were actually seperate processes with
> a behind the scenes userspace hack to share process data. No idea why threads
> weren't built into the kernel from the start, perhaps too complicated or Linus
> didn't see the point of them.
Because the start is "int main() {}", you must type at least one
character /after/ that to implement threads, necessarily they will not
be present at the start.
--
Tristan Wibberley
The message body is Copyright (C) 2026 Tristan Wibberley except
citations and quotations noted. All Rights Reserved except that you may,
of course, cite it academically giving credit to me, distribute it
verbatim as part of a usenet system or its archives, and use it to
promote my greatness and general superiority without misrepresentation
of my opinions other than my opinion of my greatness and general
superiority which you _may_ misrepresent. You definitely MAY NOT train
any production AI system with it but you may train experimental AI that
will only be used for evaluation of the AI methods it implements.
[toc] | [prev] | [next] | [standalone]
| From | "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> |
|---|---|
| Date | 2026-07-28 12:31 -0700 |
| Message-ID | <114b01o$aneb$1@dont-email.me> |
| In reply to | #124404 |
On 7/28/2026 6:43 AM, Tristan Wibberley wrote:
> On 01/07/2026 09:22, boltar@caprica.universe wrote:
>> On Tue, 30 Jun 2026 17:05:50 GMT
>> scott@slp53.sl.home (Scott Lurndal) gabbled:
>>> Wuns Haerst <Wuns.Haerst@wurstfabrik.at> writes:
>>>> Am 30.06.2026 um 17:39 schrieb boltar@caprica.universe:
>>>>
>>>>> On Tue, 30 Jun 2026 14:14:47 GMT
>>>>
>>>>>> Don't bother. It's been done, more than once. See, for example,
>>>>>> Unixware 2.0. It turns out that userspace thread scheduling
>>>>>> does not perform as well as kernel-based thread scheduling.
>>>>
>>>>> Java of course being a prime example with its green threads.
>>>>
>>>> According to Wikipedia Java had green threads between 1997 and 2000.
>>>
>>> Only on linux. Java on SunOS/Solaris/Unixware used Unix[*] threads.
>>
>> IIRC threads on linux up until kernel 3 were actually seperate processes with
>> a behind the scenes userspace hack to share process data. No idea why threads
>> weren't built into the kernel from the start, perhaps too complicated or Linus
>> didn't see the point of them.
>
> Because the start is "int main() {}", you must type at least one
> character /after/ that to implement threads, necessarily they will not
> be present at the start.
>
>
Well, what about the thread that main is running on...? ;^)
[toc] | [prev] | [next] | [standalone]
| From | boltar@uxvz2mpj0o8fzg70vyzzcf46nvx2.biz |
|---|---|
| Date | 2026-07-29 08:36 +0000 |
| Message-ID | <114ce2s$3beo2$1@dont-email.me> |
| In reply to | #124404 |
On Tue, 28 Jul 2026 14:43:33 +0100
Tristan Wibberley <tristan.wibberley+netnews2@alumni.manchester.ac.uk> gabbled:
>On 01/07/2026 09:22, boltar@caprica.universe wrote:
>> On Tue, 30 Jun 2026 17:05:50 GMT
>> scott@slp53.sl.home (Scott Lurndal) gabbled:
>>> Wuns Haerst <Wuns.Haerst@wurstfabrik.at> writes:
>>>> Am 30.06.2026 um 17:39 schrieb boltar@caprica.universe:
>>>>
>>>>> On Tue, 30 Jun 2026 14:14:47 GMT
>>>>
>>>>>> Don't bother. It's been done, more than once. See, for example,
>>>>>> Unixware 2.0. It turns out that userspace thread scheduling
>>>>>> does not perform as well as kernel-based thread scheduling.
>>>>
>>>>> Java of course being a prime example with its green threads.
>>>>
>>>> According to Wikipedia Java had green threads between 1997 and 2000.
>>>
>>> Only on linux. Java on SunOS/Solaris/Unixware used Unix[*] threads.
>>
>> IIRC threads on linux up until kernel 3 were actually seperate processes with
>
>> a behind the scenes userspace hack to share process data. No idea why threads
>
>> weren't built into the kernel from the start, perhaps too complicated or
>Linus
>> didn't see the point of them.
>
>Because the start is "int main() {}", you must type at least one
>character /after/ that to implement threads, necessarily they will not
>be present at the start.
Whoever is posting this LLM generated crap, give it a rest. Its not even
vaguely amusing.
[toc] | [prev] | [next] | [standalone]
| From | Michael S <already5chosen@yahoo.com> |
|---|---|
| Date | 2026-06-30 23:29 +0300 |
| Message-ID | <20260630232959.00004208@yahoo.com> |
| In reply to | #124149 |
On Tue, 30 Jun 2026 10:27:38 +0200 Wuns Haerst <Wuns.Haerst@wurstfabrik.at> wrote: > I measured the time it takes to create a thread on both Windows and > Linux. On Windows, it takes around 120,000 clock cycles, whereas on > Linux, it takes about a third of that. > It occurred to me that one could simply inline the thread's main > function. This would eliminate the need for the operating system > call to create the thread. In this scenario, the compiler — or its > runtime — would have to handle the scheduling. > I estimate that this would reduce the thread creation overhead to > just a few clock cycles, making thread pools unnecessary. I’m just > not sure yet exactly how to go about implementing this. Perhaps > someone here can help me with it. > Please send any relevant suggestions via email only, as I intend > to patent this idea once it is fully developed. In majority of situations you don't need to create threads on Window. Use one of the several available Windows thread pool APIs. For example, QueueUserWorkItem() - somewhat outdated and not feature-rich, but very easy to use. Of course, in C++ group it is of topic, because it does not map itself well into C++ std::thread model. But that should not stop you if it is a right answer to youur needs.
[toc] | [prev] | [next] | [standalone]
| From | "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> |
|---|---|
| Date | 2026-07-04 23:47 -0700 |
| Message-ID | <112cum0$sges$1@dont-email.me> |
| In reply to | #124161 |
On 6/30/2026 1:29 PM, Michael S wrote: > On Tue, 30 Jun 2026 10:27:38 +0200 > Wuns Haerst <Wuns.Haerst@wurstfabrik.at> wrote: > >> I measured the time it takes to create a thread on both Windows and >> Linux. On Windows, it takes around 120,000 clock cycles, whereas on >> Linux, it takes about a third of that. >> It occurred to me that one could simply inline the thread's main >> function. This would eliminate the need for the operating system >> call to create the thread. In this scenario, the compiler — or its >> runtime — would have to handle the scheduling. >> I estimate that this would reduce the thread creation overhead to >> just a few clock cycles, making thread pools unnecessary. I’m just >> not sure yet exactly how to go about implementing this. Perhaps >> someone here can help me with it. >> Please send any relevant suggestions via email only, as I intend >> to patent this idea once it is fully developed. > > In majority of situations you don't need to create threads on Window. > Use one of the several available Windows thread pool APIs. > For example, QueueUserWorkItem() - somewhat outdated and not > feature-rich, but very easy to use. > > Of course, in C++ group it is of topic, because it does not map itself > well into C++ std::thread model. But that should not stop you if it is > a right answer to youur needs. > C++ and std::thread work pretty damn nice, basically akin to POSIX threads, well wrt the C11. But, C++ works fine.
[toc] | [prev] | [next] | [standalone]
| From | Wuns Haerst <Wuns.Haerst@wurstfabrik.at> |
|---|---|
| Date | 2026-07-17 13:45 +0200 |
| Message-ID | <113d4k1$2opmt$1@raubtier-asyl.eternal-september.org> |
| In reply to | #124149 |
Am 30.06.2026 um 10:27 schrieb Wuns Haerst: > I measured the time it takes to create a thread on both Windows and > Linux. On Windows, it takes around 120,000 clock cycles, whereas on > Linux, it takes about a third of that. > It occurred to me that one could simply inline the thread's main > function. This would eliminate the need for the operating system > call to create the thread. In this scenario, the compiler — or its > runtime — would have to handle the scheduling. > I estimate that this would reduce the thread creation overhead to > just a few clock cycles, making thread pools unnecessary. I’m just > not sure yet exactly how to go about implementing this. Perhaps > someone here can help me with it. > Please send any relevant suggestions via email only, as I intend > to patent this idea once it is fully developed. I found a way to handle that: I've implemented a green thread API and the scheduler is a generic component which takes a function object as a template parameter. With that I easily can integrate threads inlined. For some benchmarks with small threaded tasks this gives a hughe per- formance advantage. Strike !
[toc] | [prev] | [next] | [standalone]
| From | Michael S <already5chosen@yahoo.com> |
|---|---|
| Date | 2026-07-17 15:23 +0300 |
| Message-ID | <20260717152327.00006227@yahoo.com> |
| In reply to | #124319 |
On Fri, 17 Jul 2026 13:45:09 +0200 Wuns Haerst <Wuns.Haerst@wurstfabrik.at> wrote: > Am 30.06.2026 um 10:27 schrieb Wuns Haerst: > > I measured the time it takes to create a thread on both Windows and > > Linux. On Windows, it takes around 120,000 clock cycles, whereas on > > Linux, it takes about a third of that. > > It occurred to me that one could simply inline the thread's main > > function. This would eliminate the need for the operating system > > call to create the thread. In this scenario, the compiler — or its > > runtime — would have to handle the scheduling. > > I estimate that this would reduce the thread creation overhead to > > just a few clock cycles, making thread pools unnecessary. I’m just > > not sure yet exactly how to go about implementing this. Perhaps > > someone here can help me with it. > > Please send any relevant suggestions via email only, as I intend > > to patent this idea once it is fully developed. > > I found a way to handle that: I've implemented a green thread API and > the scheduler is a generic component which takes a function object as > a template parameter. With that I easily can integrate threads > inlined. For some benchmarks with small threaded tasks this gives a > hughe per- formance advantage. Strike ! If it helps, it's a sure sign that the job would be better done non-threaded. Did you consider state machine?
[toc] | [prev] | [standalone]
Page 10 of 10 — ← Prev page 1 … 8 9 [10]
Back to top | Article view | comp.lang.c++
csiph-web