Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #124149 > unrolled thread

How to inline the main function of a thread?

Started byWuns Haerst <Wuns.Haerst@wurstfabrik.at>
First post2026-06-30 10:27 +0200
Last post2026-07-17 15:23 +0300
Articles 20 on this page of 195 — 15 participants

Back to article view | Back to comp.lang.c++


Contents

  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 9 of 10 — ← Prev page 1 … 7 8 [9] 10  Next page →


#124154

Fromboltar@caprica.universe
Date2026-06-30 10:46 +0000
Message-ID<11206pu$1117s$1@dont-email.me>
In reply to#124151
On Tue, 30 Jun 2026 11:07:36 +0200
David Brown <david.brown@hesbynett.no> gabbled:
>The lowest overhead existing solution, to my knowledge, is 
>"protothreads".  C++ has standardised support for coroutines, though it 
>is a bit clunky as a late addition to the language.  Go has goroutines 

They're a badly specced solution looking for a problem whose logic can already
be solved with function static autos and/or thread local vars.

[toc] | [prev] | [next] | [standalone]


#124167

From"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Date2026-07-01 12:25 -0700
Message-ID<1123pjp$23fuu$2@dont-email.me>
In reply to#124154
On 6/30/2026 3:46 AM, boltar@caprica.universe wrote:
> On Tue, 30 Jun 2026 11:07:36 +0200
> David Brown <david.brown@hesbynett.no> gabbled:
>> The lowest overhead existing solution, to my knowledge, is 
>> "protothreads".  C++ has standardised support for coroutines, though 
>> it is a bit clunky as a late addition to the language.  Go has goroutines 
> 
> They're a badly specced solution looking for a problem whose logic can 
> already
> be solved with function static autos and/or thread local vars.
> 

How much experience do you have with per_thread data?

[toc] | [prev] | [next] | [standalone]


#124170

Fromboltar@caprica.universe
Date2026-07-02 08:13 +0000
Message-ID<11256j9$2ep2s$1@dont-email.me>
In reply to#124167
On Wed, 1 Jul 2026 12:25:44 -0700
"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled:
>On 6/30/2026 3:46 AM, boltar@caprica.universe wrote:
>> On Tue, 30 Jun 2026 11:07:36 +0200
>> David Brown <david.brown@hesbynett.no> gabbled:
>>> The lowest overhead existing solution, to my knowledge, is 
>>> "protothreads".  C++ has standardised support for coroutines, though 
>>> it is a bit clunky as a late addition to the language.  Go has goroutines 
>> 
>> They're a badly specced solution looking for a problem whose logic can 
>> already
>> be solved with function static autos and/or thread local vars.
>> 
>
>How much experience do you have with per_thread data?

Plenty. Next...

[toc] | [prev] | [next] | [standalone]


#124152

Fromboltar@caprica.universe
Date2026-06-30 10:41 +0000
Message-ID<11206hj$10uk5$1@dont-email.me>
In reply to#124149
On Tue, 30 Jun 2026 10:27:38 +0200
Wuns Haerst <Wuns.Haerst@wurstfabrik.at> gabbled:
>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

Wtf are you babbling about? Its jumping into kernel mode and the kernel adding
another thread to its scheduler that takes most of the time.

>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.

Clown. You can't patent software methods in most of the world. Also asking
people for ideas then saying you'll patent them will get you zero responses
othe than derision.

[toc] | [prev] | [next] | [standalone]


#124155

Fromscott@slp53.sl.home (Scott Lurndal)
Date2026-06-30 14:14 +0000
Message-ID<rbQ0S.5587$4ax7.2968@fx46.iad>
In reply to#124149
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.

[toc] | [prev] | [next] | [standalone]


#124156

FromBonita Montero <Bonita.Montero@gmail.com>
Date2026-06-30 16:30 +0200
Message-ID<1120jtd$156h6$1@raubtier-asyl.eternal-september.org>
In reply to#124155
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.

[toc] | [prev] | [next] | [standalone]


#124157

Fromscott@slp53.sl.home (Scott Lurndal)
Date2026-06-30 15:25 +0000
Message-ID<IdR0S.13963$3sA7.10008@fx20.iad>
In reply to#124156
Bonita Montero <Bonita.Montero@gmail.com> writes:
>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.

How do you know how the oracle RDBMS works internally?

(I did spend some time working with the RDBMS sources in the 90s).

[toc] | [prev] | [next] | [standalone]


#124168

From"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Date2026-07-01 12:30 -0700
Message-ID<1123psn$23k81$1@dont-email.me>
In reply to#124157
On 6/30/2026 8:25 AM, Scott Lurndal wrote:
> Bonita Montero <Bonita.Montero@gmail.com> writes:
>> 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.
> 
> How do you know how the oracle RDBMS works internally?
> 
> (I did spend some time working with the RDBMS sources in the 90s).

I don't think he knows. Its funny how he mentions never calling a 
blocking kernel call in a thread. GetQueuedCompletionStatusEx over in 
the windozer, can be blocking kernel call, aka using a non-zero timeout.

[toc] | [prev] | [next] | [standalone]


#124188

FromBonita Montero <Bonita.Montero@gmail.com>
Date2026-07-05 14:03 +0200
Message-ID<112dh6i$120nf$1@raubtier-asyl.eternal-september.org>
In reply to#124157
Am 30.06.2026 um 17:25 schrieb Scott Lurndal:

> How do you know how the oracle RDBMS works internally?

It's not documented but a lot of people have guessed that. Oracle
allows it to limit the absolute CPU-time of a session, a user or
a consumer group. With Windows this isn't possible so you have
to do our own userspace schedulung. With Linux it's possible
since Linux has control groups, but Oracle predates this feature.

[toc] | [prev] | [next] | [standalone]


#124190

Fromscott@slp53.sl.home (Scott Lurndal)
Date2026-07-05 14:41 +0000
Message-ID<Q2u2S.31462$F_27.12849@fx09.iad>
In reply to#124188
Bonita Montero <Bonita.Montero@gmail.com> writes:
>Am 30.06.2026 um 17:25 schrieb Scott Lurndal:
>
>> How do you know how the oracle RDBMS works internally?
>
>It's not documented but a lot of people have guessed that.

So you don't know.

> Oracle
>allows it to limit the absolute CPU-time of a session, a user or
>a consumer group. With Windows this isn't possible so you have
>to do our own userspace schedulung. With Linux it's possible
>since Linux has control groups, but Oracle predates this feature.
>

Process resource limits have been available in Unix since before
DOS morphed into windows 3.1.

[toc] | [prev] | [next] | [standalone]


#124194

FromBonita Montero <Bonita.Montero@gmail.com>
Date2026-07-05 20:08 +0200
Message-ID<112e6it$19kjg$1@raubtier-asyl.eternal-september.org>
In reply to#124190
Am 05.07.2026 um 16:41 schrieb Scott Lurndal:

> Bonita Montero <Bonita.Montero@gmail.com> writes:

>> It's not documented but a lot of people have guessed that.

> So you don't know.

I'm not the only one wo assumes that; it's not possible otherwise.

>> Oracle
>> allows it to limit the absolute CPU-time of a session, a user or
>> a consumer group. With Windows this isn't possible so you have
>> to do our own userspace schedulung. With Linux it's possible
>> since Linux has control groups, but Oracle predates this feature.

> Process resource limits have been available in Unix since before
> DOS morphed into windows 3.1.

You can set absolute limits with that, but not fractions of the
number of cores. Applying the latter is possible since Linux has
control groups and Windows has no option like that so far.

[toc] | [prev] | [next] | [standalone]


#124196

From"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Date2026-07-05 13:05 -0700
Message-ID<112edei$1cnf9$1@dont-email.me>
In reply to#124194
On 7/5/2026 11:08 AM, Bonita Montero wrote:
> Am 05.07.2026 um 16:41 schrieb Scott Lurndal:
> 
>> Bonita Montero <Bonita.Montero@gmail.com> writes:
> 
>>> It's not documented but a lot of people have guessed that.
> 
>> So you don't know.
> 
> I'm not the only one wo assumes that; it's not possible otherwise.
> 
>>> Oracle
>>> allows it to limit the absolute CPU-time of a session, a user or
>>> a consumer group. With Windows this isn't possible so you have
>>> to do our own userspace schedulung. With Linux it's possible
>>> since Linux has control groups, but Oracle predates this feature.
> 
>> Process resource limits have been available in Unix since before
>> DOS morphed into windows 3.1.
> 
> You can set absolute limits with that, but not fractions of the
> number of cores. Applying the latter is possible since Linux has
> control groups and Windows has no option like that so far.

https://learn.microsoft.com/en-us/windows/win32/procthread/processor-groups

Kind a, sort a?

[toc] | [prev] | [next] | [standalone]


#124199

From"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Date2026-07-05 14:03 -0700
Message-ID<112egq5$1e65j$1@dont-email.me>
In reply to#124196
On 7/5/2026 1:05 PM, Chris M. Thomasson wrote:
> On 7/5/2026 11:08 AM, Bonita Montero wrote:
>> Am 05.07.2026 um 16:41 schrieb Scott Lurndal:
>>
>>> Bonita Montero <Bonita.Montero@gmail.com> writes:
>>
>>>> It's not documented but a lot of people have guessed that.
>>
>>> So you don't know.
>>
>> I'm not the only one wo assumes that; it's not possible otherwise.
>>
>>>> Oracle
>>>> allows it to limit the absolute CPU-time of a session, a user or
>>>> a consumer group. With Windows this isn't possible so you have
>>>> to do our own userspace schedulung. With Linux it's possible
>>>> since Linux has control groups, but Oracle predates this feature.
>>
>>> Process resource limits have been available in Unix since before
>>> DOS morphed into windows 3.1.
>>
>> You can set absolute limits with that, but not fractions of the
>> number of cores. Applying the latter is possible since Linux has
>> control groups and Windows has no option like that so far.
> 
> https://learn.microsoft.com/en-us/windows/win32/procthread/processor-groups
> 
> Kind a, sort a?

https://learn.microsoft.com/en-us/windows/win32/procthread/numa-support

[toc] | [prev] | [next] | [standalone]


#124200

From"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Date2026-07-05 14:36 -0700
Message-ID<112eioj$1f06f$1@dont-email.me>
In reply to#124194
On 7/5/2026 11:08 AM, Bonita Montero wrote:
> Am 05.07.2026 um 16:41 schrieb Scott Lurndal:
> 
>> Bonita Montero <Bonita.Montero@gmail.com> writes:
> 
>>> It's not documented but a lot of people have guessed that.
> 
>> So you don't know.
> 
> I'm not the only one wo assumes that; it's not possible otherwise.
> 
>>> Oracle
>>> allows it to limit the absolute CPU-time of a session, a user or
>>> a consumer group. With Windows this isn't possible so you have
>>> to do our own userspace schedulung. With Linux it's possible
>>> since Linux has control groups, but Oracle predates this feature.
> 
>> Process resource limits have been available in Unix since before
>> DOS morphed into windows 3.1.
> 
> You can set absolute limits with that, but not fractions of the
> number of cores. Applying the latter is possible since Linux has
> control groups and Windows has no option like that so far.

https://learn.microsoft.com/en-us/windows/win32/procthread/cpu-sets

[toc] | [prev] | [next] | [standalone]


#124205

Fromscott@slp53.sl.home (Scott Lurndal)
Date2026-07-06 17:47 +0000
Message-ID<oSR2S.26893$F8N4.25450@fx01.iad>
In reply to#124194
Bonita Montero <Bonita.Montero@gmail.com> writes:
>Am 05.07.2026 um 16:41 schrieb Scott Lurndal:
>

>> Process resource limits have been available in Unix since before
>> DOS morphed into windows 3.1.
>
>You can set absolute limits with that, but not fractions of the
>number of cores. Applying the latter is possible since Linux has
>control groups and Windows has no option like that so far.

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.

[toc] | [prev] | [next] | [standalone]


#124207

FromMichael S <already5chosen@yahoo.com>
Date2026-07-06 21:49 +0300
Message-ID<20260706214932.00007051@yahoo.com>
In reply to#124205
On Mon, 06 Jul 2026 17:47:00 GMT
scott@slp53.sl.home (Scott Lurndal) wrote:

> Bonita Montero <Bonita.Montero@gmail.com> writes:
> >Am 05.07.2026 um 16:41 schrieb Scott Lurndal:
> >  
> 
> >> Process resource limits have been available in Unix since before
> >> DOS morphed into windows 3.1.  
> >
> >You can set absolute limits with that, but not fractions of the
> >number of cores. Applying the latter is possible since Linux has
> >control groups and Windows has no option like that so far.  
> 
> 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. 

That's what Bonita said. Granularity of whole logical core is available
since long ago.
But then, on WinNT such granularity is available since very first
version (1993).
What Windows (and supposedly POSIX Standard, but not some of POSIX-based
systems) lack is finer granularity. 

> Combine that with setrlimit(2) and you have failry
> fined grained control of both core assignment and utilization.
> 

[toc] | [prev] | [next] | [standalone]


#124229

FromBonita Montero <Bonita.Montero@gmail.com>
Date2026-07-08 15:47 +0200
Message-ID<112lke1$3lpai$1@raubtier-asyl.eternal-september.org>
In reply to#124207
Am 06.07.2026 um 20:49 schrieb Michael S:

> That's what Bonita said. ....

No, I'm talking about a limit to the amount of consumed CPU time of
a thread in an interval. With Linux that's possible since Linux has
control groups. Windows never had such a capability.

[toc] | [prev] | [next] | [standalone]


#124237

From"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Date2026-07-08 14:32 -0700
Message-ID<112mfli$3uj48$1@dont-email.me>
In reply to#124229
On 7/8/2026 6:47 AM, Bonita Montero wrote:
> Am 06.07.2026 um 20:49 schrieb Michael S:
> 
>> That's what Bonita said. ....
> 
> No, I'm talking about a limit to the amount of consumed CPU time of
> a thread in an interval. With Linux that's possible since Linux has
> control groups. Windows never had such a capability.

Not sure if a processor group can work with the power management or not. 
I think it can.

[toc] | [prev] | [next] | [standalone]


#124238

FromBonita Montero <Bonita.Montero@gmail.com>
Date2026-07-09 10:34 +0200
Message-ID<112nmfb$8gqh$1@raubtier-asyl.eternal-september.org>
In reply to#124237
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.

[toc] | [prev] | [next] | [standalone]


#124247

From"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Date2026-07-09 13:01 -0700
Message-ID<112ounf$lu4g$1@dont-email.me>
In reply to#124238
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. "

[toc] | [prev] | [next] | [standalone]


Page 9 of 10 — ← Prev page 1 … 7 8 [9] 10  Next page →

Back to top | Article view | comp.lang.c++


csiph-web