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 3 of 10 — ← Prev page 1 2 [3] 4 5 … 10 Next page →
| From | boltar@caprica.universe |
|---|---|
| Date | 2026-07-09 15:43 +0000 |
| Message-ID | <112ofin$gf96$1@dont-email.me> |
| In reply to | #124242 |
On Thu, 09 Jul 2026 15:18:38 GMT scott@slp53.sl.home (Scott Lurndal) gabbled: >boltar@caprica.universe writes: >>No it wasn't and no you don't need seperate threads to do file I/O , you >>can simply multiplex the descriptors in select or poll just like sockets. > >Actually, you can't usefully poll regular files. POLLIN and POLLOUT are >always true for >a regular file. Regular files no, but its very useful when you're talking to something in /dev. >>Clearly you don't understand how multiplexing works in unix but given file >>I/O in userspace is buffered anyway you rarely need to multiplex file I/O >>unless its via NFS or similar. > >No high performance application will use stdio buffering. Obviously not. They'd use memory mapping, open the disk device directly or use some OS specific interface.
[toc] | [prev] | [next] | [standalone]
| From | scott@slp53.sl.home (Scott Lurndal) |
|---|---|
| Date | 2026-07-10 15:32 +0000 |
| Message-ID | <xg84S.106446$saQb.105599@fx38.iad> |
| In reply to | #124243 |
boltar@caprica.universe writes: >On Thu, 09 Jul 2026 15:18:38 GMT >scott@slp53.sl.home (Scott Lurndal) gabbled: >>boltar@caprica.universe writes: >>>No it wasn't and no you don't need seperate threads to do file I/O , you >>>can simply multiplex the descriptors in select or poll just like sockets. >> >>Actually, you can't usefully poll regular files. POLLIN and POLLOUT are >>always true for >>a regular file. > >Regular files no, but its very useful when you're talking to something >in /dev. Not really. Block devices are always POLLIN and POLLOUT ready. Some character devices (serial ports for example) may support the O_NONBLOCK fcntl flag and thus be usable with poll/select.
[toc] | [prev] | [next] | [standalone]
| From | boltar@caprica.universe |
|---|---|
| Date | 2026-07-10 16:03 +0000 |
| Message-ID | <112r540$1qotb$1@dont-email.me> |
| In reply to | #124264 |
On Fri, 10 Jul 2026 15:32:45 GMT scott@slp53.sl.home (Scott Lurndal) gabbled: >boltar@caprica.universe writes: >>On Thu, 09 Jul 2026 15:18:38 GMT >>scott@slp53.sl.home (Scott Lurndal) gabbled: >>>boltar@caprica.universe writes: >>>>No it wasn't and no you don't need seperate threads to do file I/O , you >>>>can simply multiplex the descriptors in select or poll just like sockets. >>> >>>Actually, you can't usefully poll regular files. POLLIN and POLLOUT are >>>always true for >>>a regular file. >> >>Regular files no, but its very useful when you're talking to something >>in /dev. > >Not really. Block devices are always POLLIN and POLLOUT ready. > >Some character devices (serial ports for example) may >support the O_NONBLOCK fcntl flag and thus be usable with poll/select. I've done multiplexing on character devices, select() works just fine. Not sure why you're wibbling about the NONBLOCK flag, its irrelevant in this situation.
[toc] | [prev] | [next] | [standalone]
| From | Keith Thompson <Keith.S.Thompson+u@gmail.com> |
|---|---|
| Date | 2026-07-09 14:07 -0700 |
| Message-ID | <112p2im$nain$1@kst.eternal-september.org> |
| In reply to | #124242 |
scott@slp53.sl.home (Scott Lurndal) writes:
[...]
> Actually, you can't usefully poll regular files. POLLIN and POLLOUT
> are always true for a regular file.
>
> aio_read(2), aio_write(2) and lio_listio(2) provide asynchronous
> file I/O.
[...]
A small quibble: Those are library functions not system calls,
at least on Linux with glibc. (As I'm sure you know, the "(2)"
suffix denotes section 2 of the manual, which covers system calls.
Section 3 covers library functions.)
--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
void Void(void) { Void(); } /* The recursive call of the void */
[toc] | [prev] | [next] | [standalone]
| From | scott@slp53.sl.home (Scott Lurndal) |
|---|---|
| Date | 2026-07-10 15:34 +0000 |
| Message-ID | <Oh84S.106447$saQb.65529@fx38.iad> |
| In reply to | #124249 |
Keith Thompson <Keith.S.Thompson+u@gmail.com> writes: >scott@slp53.sl.home (Scott Lurndal) writes: >[...] >> Actually, you can't usefully poll regular files. POLLIN and POLLOUT >> are always true for a regular file. >> >> aio_read(2), aio_write(2) and lio_listio(2) provide asynchronous >> file I/O. >[...] > >A small quibble: Those are library functions not system calls, >at least on Linux with glibc. (As I'm sure you know, the "(2)" >suffix denotes section 2 of the manual, which covers system calls. >Section 3 covers library functions.) They are implemented as system calls on SVR4/Unixware, SVR4/MK and IIRC Solaris.
[toc] | [prev] | [next] | [standalone]
| From | Michael S <already5chosen@yahoo.com> |
|---|---|
| Date | 2026-07-09 22:15 +0300 |
| Message-ID | <20260709221553.0000565f@yahoo.com> |
| In reply to | #124239 |
On Thu, 9 Jul 2026 08:55:22 -0000 (UTC) boltar@caprica.universe wrote: > On Wed, 8 Jul 2026 22:16:55 +0300 > Michael S <already5chosen@yahoo.com> gabbled: > >On Wed, 8 Jul 2026 09:34:40 -0000 (UTC) > >boltar@caprica.universe wrote: > > > >> On Tue, 7 Jul 2026 20:36:11 +0300 > >> Michael S <already5chosen@yahoo.com> gabbled: > >> >On Tue, 7 Jul 2026 10:40:28 -0000 (UTC) > >> >boltar@caprica.universe wrote: > >> >> Looks like windows maintains its own thread pool for a user > >> >> which seems wasteful > >> > > >> >Why wasteful? > >> >If you don't use it, it costs you nothing. > >> > >> It costs the kernel time and resources or do you think its all done > >> by magic pixies? > >> > > > >It costs only if you use it. > >Otherwise, accordiing to my understanding, the only cost is few > >zero-initialized fields in process control block. > > Whooosh.... > > >> >I don't understand what you mean. > >> >IMHO, portable *nix is the one that needs threads (or fork) for > >> >everything. > >> > >> Wtf are you talking about? > > > >I am talking about file IO. Was not it obvious? > > No it wasn't and no you don't need seperate threads to do file I/O , > you can simply multiplex the descriptors in select or poll just like > sockets. > > >> Its quite possible - and I've done it a > >> number of times - to write a network server in unix with a single > >> thread & single process using multiplexed sockets via select() or > >> poll(). > > > >Then either files access in your server was blocking or you used > >non-portable extensions to POSIX. > > Clearly you don't understand how multiplexing works in unix but given > file I/O in userspace is buffered anyway you rarely need to multiplex > file I/O unless its via NFS or similar. > > >And it's not like on Windows it would be different. Except, may be, > >if you want to support very old versions of Windows (>20 y.o.) in > >whichcasee you'll only have select() and no poll(). Which is > >inconvinience, but relatively minor one. > > select and poll are not an "inconvenience", they're fundamental to how > single threaded servers are implemented on unix. Don't assume just > because the windows versions are a pale shadow of the posix ones > doesn't mean that they're useless. > Your reading comprehension is so poor... :( So I'd speak sloooow. 1. WinNt had select() from the very beginning (1993). Which is not surprising, considering that its original IP implementation was based on BSD. 2. WinNt did not have pool()) until 2006. Which is not surprising, considering that it's original IP implementation was based on BSD. 3. poll() is more convenient than select(), but functionality-wise everything that poll can do, select() can do as well. Do you understand now, or it was still too fast?
[toc] | [prev] | [next] | [standalone]
| From | boltar@caprica.universe |
|---|---|
| Date | 2026-07-10 09:21 +0000 |
| Message-ID | <112qdis$1q2kb$1@dont-email.me> |
| In reply to | #124244 |
On Thu, 9 Jul 2026 22:15:53 +0300 Michael S <already5chosen@yahoo.com> gabbled: >3. poll() is more convenient than select(), but functionality-wise >everything that poll can do, select() can do as well. Not entirely true. In select() the max descriptor value is limited to 1 << FD_SETSIZE and the max number of monitored descriptors is FD_SETSIZE. In poll() these limits don't apply.
[toc] | [prev] | [next] | [standalone]
| From | Michael S <already5chosen@yahoo.com> |
|---|---|
| Date | 2026-07-10 14:02 +0300 |
| Message-ID | <20260710140224.00000463@yahoo.com> |
| In reply to | #124254 |
On Fri, 10 Jul 2026 09:21:33 -0000 (UTC) boltar@caprica.universe wrote: > On Thu, 9 Jul 2026 22:15:53 +0300 > Michael S <already5chosen@yahoo.com> gabbled: > >3. poll() is more convenient than select(), but functionality-wise > >everything that poll can do, select() can do as well. > > Not entirely true. In select() the max descriptor value is limited to > 1 << FD_SETSIZE and the max number of monitored descriptors is > . In poll() these limits don't apply. > Not on Windows. Windows copied BSD select() API, but implementation under the hood is different. Actually, now when I started to think about it, implementation-wise Winsock2 select() is very similar to poll(). For starter, socket in Winsock2 is an integer number, but not *small* integer number. fd_set in Winsock2 is array of sockets rather than array of bits. One consequence of it is nfds parameter of select() is DNC. Max number of descriptors is indeed FD_SETSIZE (by default 64), but IIRC it can be changed by programmer via simple #define Also, apart from BSD-compatible select() Winsock2 provides two additional mechanism of waiting on multiple sockets. 1. WsaAsyncSelect() associates socket with message queue of particular window. This mechanism is most applicable to simple single-threaded GUI applications. 2. WSAEventSelect() associates socket with event object. That is most generic method that allows permits to combine waiting on socket with waiting on any other waitable object, most typically by means of WaitForMultipleObjects(). Both methods exist from very begining of Win32/Winsock2 API.
[toc] | [prev] | [next] | [standalone]
| From | boltar@caprica.universe |
|---|---|
| Date | 2026-07-10 11:22 +0000 |
| Message-ID | <112qkmc$167tj$1@dont-email.me> |
| In reply to | #124258 |
On Fri, 10 Jul 2026 14:02:24 +0300 Michael S <already5chosen@yahoo.com> gabbled: >On Fri, 10 Jul 2026 09:21:33 -0000 (UTC) >boltar@caprica.universe wrote: > >> On Thu, 9 Jul 2026 22:15:53 +0300 >> Michael S <already5chosen@yahoo.com> gabbled: >> >3. poll() is more convenient than select(), but functionality-wise >> >everything that poll can do, select() can do as well. >> >> Not entirely true. In select() the max descriptor value is limited to >> 1 << FD_SETSIZE and the max number of monitored descriptors is >> . In poll() these limits don't apply. >> > >Not on Windows. >Windows copied BSD select() API, but implementation under the hood is >different. Actually, now when I started to think about it, >implementation-wise Winsock2 select() is very similar to poll(). > >For starter, socket in Winsock2 is an integer number, but not *small* >integer number. >fd_set in Winsock2 is array of sockets rather than array of bits. Then it clearly no longer uses the BSD API because BSD select() multiplexes integer descriptors, not socket structures, otherwise it couldn't also multiplex pipes, fifos etc. >1. WsaAsyncSelect() associates socket with message queue of particular >window. This mechanism is most applicable to simple single-threaded GUI >applications. Huh? Why on earth would a window care about socket data? Actually, I don't care, Windows is such a bizarre OS that I'd rather keep my sanity.
[toc] | [prev] | [next] | [standalone]
| From | Michael S <already5chosen@yahoo.com> |
|---|---|
| Date | 2026-07-10 14:45 +0300 |
| Message-ID | <20260710144540.00003af3@yahoo.com> |
| In reply to | #124260 |
On Fri, 10 Jul 2026 11:22:52 -0000 (UTC) boltar@caprica.universe wrote: > On Fri, 10 Jul 2026 14:02:24 +0300 > Michael S <already5chosen@yahoo.com> gabbled: > >On Fri, 10 Jul 2026 09:21:33 -0000 (UTC) > >boltar@caprica.universe wrote: > > > >> On Thu, 9 Jul 2026 22:15:53 +0300 > >> Michael S <already5chosen@yahoo.com> gabbled: > >> >3. poll() is more convenient than select(), but functionality-wise > >> >everything that poll can do, select() can do as well. > >> > >> Not entirely true. In select() the max descriptor value is limited > >> to 1 << FD_SETSIZE and the max number of monitored descriptors is > >> . In poll() these limits don't apply. > >> > > > >Not on Windows. > >Windows copied BSD select() API, but implementation under the hood is > >different. Actually, now when I started to think about it, > >implementation-wise Winsock2 select() is very similar to poll(). > > > >For starter, socket in Winsock2 is an integer number, but not *small* > >integer number. > >fd_set in Winsock2 is array of sockets rather than array of bits. > > Then it clearly no longer uses the BSD API because BSD select() > multiplexes integer descriptors, not socket structures, otherwise it > couldn't also multiplex pipes, fifos etc. > > >1. WsaAsyncSelect() associates socket with message queue of > >particular window. This mechanism is most applicable to simple > >single-threaded GUI applications. > > Huh? Why on earth would a window care about socket data? Think client, not server. For example, telnet client in hyperterminal. [O.T.] Hyperterminal was rather buggy. Despite that I encountered many people that liked it so much that they went to trouble of installing it on Win7 and may be even later. [/O.T.] > Actually, I > don't care, Windows is such a bizarre OS that I'd rather keep my > sanity. > That's o.k. Spouting uninformed statements about something you don't care about like the one that started this particular sub-thread is less o.k. as far as I am concerned. But if you enjoj it then go on.
[toc] | [prev] | [next] | [standalone]
| From | boltar@caprica.universe |
|---|---|
| Date | 2026-07-10 15:12 +0000 |
| Message-ID | <112r247$1qlsv$1@dont-email.me> |
| In reply to | #124262 |
On Fri, 10 Jul 2026 14:45:40 +0300 Michael S <already5chosen@yahoo.com> gabbled: >On Fri, 10 Jul 2026 11:22:52 -0000 (UTC) >boltar@caprica.universe wrote: >> Huh? Why on earth would a window care about socket data? > >Think client, not server. I'm thinking window - its a graphical object, just like a bitmap. Why TF would it care about data of any sort? >> Actually, I >> don't care, Windows is such a bizarre OS that I'd rather keep my >> sanity. >> > >That's o.k. >Spouting uninformed statements about something you don't care about like >the one that started this particular sub-thread is less o.k. as far as >I am concerned. >But if you enjoj it then go on. I seem to know more about thread pools than some people on here who make hand waving statements about how "simple" they are then don't provide any simple code to back that statement up.
[toc] | [prev] | [next] | [standalone]
| From | Michael S <already5chosen@yahoo.com> |
|---|---|
| Date | 2026-07-10 18:43 +0300 |
| Message-ID | <20260710184337.0000625e@yahoo.com> |
| In reply to | #124263 |
On Fri, 10 Jul 2026 15:12:08 -0000 (UTC) boltar@caprica.universe wrote: > On Fri, 10 Jul 2026 14:45:40 +0300 > Michael S <already5chosen@yahoo.com> gabbled: > >On Fri, 10 Jul 2026 11:22:52 -0000 (UTC) > >boltar@caprica.universe wrote: > >> Huh? Why on earth would a window care about socket data? > > > >Think client, not server. > > I'm thinking window - its a graphical object, just like a bitmap. Why > TF would it care about data of any sort? > I don't know what is meaning of window in your preferred GUI environment. But on Windows 'window' is not 'graphical' object and not similar to bitmap. It is a graphical user interface object. The most prominent feature of window object is "message pump" with its associated message queue. Window is commonly visible, but it does not have to be. Invisible windows that are used purely for sake of they message pump/queue are not uncommon. Window-related functions are exported through User32.dll which is distinct from GDI32.dll responsible for graphics and from Kernel32.dll which exports basic OS services. > >> Actually, I > >> don't care, Windows is such a bizarre OS that I'd rather keep my > >> sanity. > >> > > > >That's o.k. > >Spouting uninformed statements about something you don't care about > >like the one that started this particular sub-thread is less o.k. as > >far as I am concerned. > >But if you enjoj it then go on. > > I seem to know more about thread pools than some people on here who > make hand waving statements about how "simple" they are then don't > provide any simple code to back that statement up. > I was talking about part of thread that started when you wrote "understandable in an OS that seems to require threads for everything".
[toc] | [prev] | [next] | [standalone]
| From | boltar@caprica.universe |
|---|---|
| Date | 2026-07-10 16:06 +0000 |
| Message-ID | <112r5an$1qp27$1@dont-email.me> |
| In reply to | #124266 |
On Fri, 10 Jul 2026 18:43:37 +0300 Michael S <already5chosen@yahoo.com> gabbled: >On Fri, 10 Jul 2026 15:12:08 -0000 (UTC) >boltar@caprica.universe wrote: >> I'm thinking window - its a graphical object, just like a bitmap. Why >> TF would it care about data of any sort? >> > >I don't know what is meaning of window in your preferred GUI >environment. But on Windows 'window' is not 'graphical' object and not >similar to bitmap. It is a graphical user interface object. The most In X Windows a window is an area of screen that has a window outline and returns events. Want to process data? Do it elsewhere, the window isn't interested. >prominent feature of window object is "message pump" with its >associated message queue. >Window is commonly visible, but it does not have to be. Invisible >windows that are used purely for sake of they message pump/queue are >not uncommon. >Window-related functions are exported through User32.dll which is >distinct from GDI32.dll responsible for graphics and from Kernel32.dll >which exports basic OS services. I knew MSWin was wierd but its design just sounds fucking bizarre, like something dreamt up by someone on LSD. Why TF would you want an on screen object to do processing? What else, does a sound get sent data too in Windows? >> I seem to know more about thread pools than some people on here who >> make hand waving statements about how "simple" they are then don't >> provide any simple code to back that statement up. >> > >I was talking about part of thread that started when you wrote >"understandable in an OS that seems to require threads for everything". Perhaps be clearer then.
[toc] | [prev] | [next] | [standalone]
| From | Michael S <already5chosen@yahoo.com> |
|---|---|
| Date | 2026-07-10 19:13 +0300 |
| Message-ID | <20260710191306.00001a33@yahoo.com> |
| In reply to | #124268 |
On Fri, 10 Jul 2026 16:06:47 -0000 (UTC) boltar@caprica.universe wrote: > On Fri, 10 Jul 2026 18:43:37 +0300 > Michael S <already5chosen@yahoo.com> gabbled: > >On Fri, 10 Jul 2026 15:12:08 -0000 (UTC) > >boltar@caprica.universe wrote: > >> I'm thinking window - its a graphical object, just like a bitmap. > >> Why TF would it care about data of any sort? > >> > > > >I don't know what is meaning of window in your preferred GUI > >environment. But on Windows 'window' is not 'graphical' object and > >not similar to bitmap. It is a graphical user interface object. The > >most > > In X Windows a window is an area of screen that has a window outline > and returns events. Want to process data? Do it elsewhere, the window > isn't interested. > X is a bad point of comparison - too low level. Think X-Motif. It is the same era as User32 and likely has similar concepts. Not that I ever looked.
[toc] | [prev] | [next] | [standalone]
| From | boltar@caprica.universe |
|---|---|
| Date | 2026-07-11 09:28 +0000 |
| Message-ID | <112t2c8$1ubcn$1@dont-email.me> |
| In reply to | #124269 |
On Fri, 10 Jul 2026 19:13:06 +0300 Michael S <already5chosen@yahoo.com> gabbled: >On Fri, 10 Jul 2026 16:06:47 -0000 (UTC) >boltar@caprica.universe wrote: > >> On Fri, 10 Jul 2026 18:43:37 +0300 >> Michael S <already5chosen@yahoo.com> gabbled: >> >On Fri, 10 Jul 2026 15:12:08 -0000 (UTC) >> >boltar@caprica.universe wrote: >> >> I'm thinking window - its a graphical object, just like a bitmap. >> >> Why TF would it care about data of any sort? >> >> >> > >> >I don't know what is meaning of window in your preferred GUI >> >environment. But on Windows 'window' is not 'graphical' object and >> >not similar to bitmap. It is a graphical user interface object. The >> >most >> >> In X Windows a window is an area of screen that has a window outline >> and returns events. Want to process data? Do it elsewhere, the window >> isn't interested. >> > >X is a bad point of comparison - too low level. >Think X-Motif. It is the same era as User32 and likely has similar >concepts. Not that I ever looked. All callbacks I've used in GUI libraries on top of X are simply event based for widgets to capture. I've never come across one where on screen objects suddely got promoted to doing their own processing of data and why would they - the X server is simple a graphics server and doesn't even have to run on the same machine as the program using it. Having a window deal with data just seems a moronic paradigm to me - what if more than 1 window needs it or the main core application? Ridiculous.
[toc] | [prev] | [next] | [standalone]
| From | "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> |
|---|---|
| Date | 2026-07-11 14:41 -0700 |
| Message-ID | <112ud9g$2c08t$1@dont-email.me> |
| In reply to | #124275 |
On 7/11/2026 2:28 AM, boltar@caprica.universe wrote: > On Fri, 10 Jul 2026 19:13:06 +0300 > Michael S <already5chosen@yahoo.com> gabbled: >> On Fri, 10 Jul 2026 16:06:47 -0000 (UTC) >> boltar@caprica.universe wrote: >> >>> On Fri, 10 Jul 2026 18:43:37 +0300 >>> Michael S <already5chosen@yahoo.com> gabbled: >>>> On Fri, 10 Jul 2026 15:12:08 -0000 (UTC) >>>> boltar@caprica.universe wrote: >>>>> I'm thinking window - its a graphical object, just like a bitmap. >>>>> Why TF would it care about data of any sort? >>>>> >>>> >>>> I don't know what is meaning of window in your preferred GUI >>>> environment. But on Windows 'window' is not 'graphical' object and >>>> not similar to bitmap. It is a graphical user interface object. The >>>> most >>> >>> In X Windows a window is an area of screen that has a window outline >>> and returns events. Want to process data? Do it elsewhere, the window >>> isn't interested. >>> >> >> X is a bad point of comparison - too low level. >> Think X-Motif. It is the same era as User32 and likely has similar >> concepts. Not that I ever looked. > > All callbacks I've used in GUI libraries on top of X are simply event based > for widgets to capture. I've never come across one where on screen objects > suddely got promoted to doing their own processing of data and why would > they - the X server is simple a graphics server and doesn't even have to > run on the same machine as the program using it. > > Having a window deal with data just seems a moronic paradigm to me - what if > more than 1 window needs it or the main core application? Ridiculous. > Create two windows that use the same core app/data?
[toc] | [prev] | [next] | [standalone]
| From | boltar@caprica.universe |
|---|---|
| Date | 2026-07-12 15:23 +0000 |
| Message-ID | <1130bh8$1vktm$1@dont-email.me> |
| In reply to | #124283 |
On Sat, 11 Jul 2026 14:41:04 -0700 "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled: >On 7/11/2026 2:28 AM, boltar@caprica.universe wrote: >> On Fri, 10 Jul 2026 19:13:06 +0300 >> Having a window deal with data just seems a moronic paradigm to me - what if >> more than 1 window needs it or the main core application? Ridiculous. >> > >Create two windows that use the same core app/data? I meant who gets the data first and what if the logic in one "window" conflicts with another. What a mess. Just have some graphic objects and a couple of core threads, one deals with graphics events and callbacks, the other does everything else. At least thats how graphical applications are written on sane OS's, not some toy that evolved from a disk monitor.
[toc] | [prev] | [next] | [standalone]
| From | "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> |
|---|---|
| Date | 2026-07-13 13:12 -0700 |
| Message-ID | <1133gri$3saak$1@dont-email.me> |
| In reply to | #124287 |
On 7/12/2026 8:23 AM, boltar@caprica.universe wrote: > On Sat, 11 Jul 2026 14:41:04 -0700 > "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled: >> On 7/11/2026 2:28 AM, boltar@caprica.universe wrote: >>> On Fri, 10 Jul 2026 19:13:06 +0300 >>> Having a window deal with data just seems a moronic paradigm to me - >>> what if >>> more than 1 window needs it or the main core application? Ridiculous. >>> >> >> Create two windows that use the same core app/data? > > I meant who gets the data first and what if the logic in one "window" > conflicts with another. What a mess. Not sure what you mean. One window can show lets say, real time stats. The other one can render real time using the GPU. Why should say, FPS be 100% accurate anyway? > Just have some graphic objects and a > couple of core threads, one deals with graphics events and callbacks, > the other does everything else. At least thats how graphical > applications are written on sane OS's, not some toy that evolved from a > disk monitor. > Have you ever used imgui? Its pretty nice.
[toc] | [prev] | [next] | [standalone]
| From | boltar@caprica.universe |
|---|---|
| Date | 2026-07-14 11:05 +0000 |
| Message-ID | <113555o$b1k0$1@dont-email.me> |
| In reply to | #124299 |
On Mon, 13 Jul 2026 13:12:32 -0700 "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled: >On 7/12/2026 8:23 AM, boltar@caprica.universe wrote: >> On Sat, 11 Jul 2026 14:41:04 -0700 >> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled: >>> On 7/11/2026 2:28 AM, boltar@caprica.universe wrote: >>>> On Fri, 10 Jul 2026 19:13:06 +0300 >>>> Having a window deal with data just seems a moronic paradigm to me - >>>> what if >>>> more than 1 window needs it or the main core application? Ridiculous. >>>> >>> >>> Create two windows that use the same core app/data? >> >> I meant who gets the data first and what if the logic in one "window" >> conflicts with another. What a mess. > >Not sure what you mean. One window can show lets say, real time stats. >The other one can render real time using the GPU. Why should say, FPS be >100% accurate anyway? I'm not going to second guess how people write apps, but I'm sure there are plenty where 2 or more windows require the same data. Why would you "send" data to each window instead of just having a central store which is then picked up by the window draw functions and displayed appropriately. >> Just have some graphic objects and a >> couple of core threads, one deals with graphics events and callbacks, >> the other does everything else. At least thats how graphical >> applications are written on sane OS's, not some toy that evolved from a >> disk monitor. >> > >Have you ever used imgui? Its pretty nice. Never heard of it. Looks quite nice. Had a poke around the code and all the cpp files I looked at seemed to be plain C. I can understand using C for library interfacing but inside the app core it seems a strange choice unless he's going for max portability, but when why not name the files .c? Naming them .cpp may confuse some IDEs and even compilers.
[toc] | [prev] | [next] | [standalone]
| From | scott@slp53.sl.home (Scott Lurndal) |
|---|---|
| Date | 2026-07-14 14:31 +0000 |
| Message-ID | <sLr5S.777704$P9D2.773598@fx24.iad> |
| In reply to | #124302 |
boltar@caprica.universe writes: >On Mon, 13 Jul 2026 13:12:32 -0700 >"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled: >>On 7/12/2026 8:23 AM, boltar@caprica.universe wrote: >>> On Sat, 11 Jul 2026 14:41:04 -0700 >>> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled: >>>> On 7/11/2026 2:28 AM, boltar@caprica.universe wrote: >>>>> On Fri, 10 Jul 2026 19:13:06 +0300 >>>>> Having a window deal with data just seems a moronic paradigm to me - >>>>> what if >>>>> more than 1 window needs it or the main core application? Ridiculous. >>>>> >>>> >>>> Create two windows that use the same core app/data? >>> >>> I meant who gets the data first and what if the logic in one "window" >>> conflicts with another. What a mess. >> >>Not sure what you mean. One window can show lets say, real time stats. >>The other one can render real time using the GPU. Why should say, FPS be >>100% accurate anyway? > >I'm not going to second guess how people write apps, but I'm sure there are >plenty where 2 or more windows require the same data. Why would you "send" >data to each window instead of just having a central store which is then >picked up by the window draw functions and displayed appropriately. Typical patterns for GUI applications often follow the smalltalk pattern Model-View-Controller. https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller > >>> Just have some graphic objects and a >>> couple of core threads, one deals with graphics events and callbacks, >>> the other does everything else. At least thats how graphical >>> applications are written on sane OS's, not some toy that evolved from a >>> disk monitor. >>> >> >>Have you ever used imgui? Its pretty nice. > >Never heard of it. Looks quite nice. Had a poke around the code and all the >cpp files I looked at seemed to be plain C. I can understand using C for >library interfacing but inside the app core it seems a strange choice >unless he's going for max portability, but when why not name the files .c? >Naming them .cpp may confuse some IDEs and even compilers. > The .cpp and .h files I looked at were actual C++ (using namespaces). Although one wonders why the author felt it necessary to disable all the useful compiler warnings for GCC and clang in demo.cpp.
[toc] | [prev] | [next] | [standalone]
Page 3 of 10 — ← Prev page 1 2 [3] 4 5 … 10 Next page →
Back to top | Article view | comp.lang.c++
csiph-web