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 4 of 10 — ← Prev page 1 2 3 [4] 5 6 … 10  Next page →


#124304

Fromboltar@caprica.universe
Date2026-07-14 15:42 +0000
Message-ID<1135lcc$gf82$1@dont-email.me>
In reply to#124303
On Tue, 14 Jul 2026 14:31:52 GMT
scott@slp53.sl.home (Scott Lurndal) gabbled:
>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.

Fair enough. Smalltalk certainly had many qualities, but efficiency wasn't
one of them.

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


#124272

From"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Date2026-07-10 15:33 -0700
Message-ID<112rrv0$1ji02$1@dont-email.me>
In reply to#124258
On 7/10/2026 4:02 AM, Michael S wrote:
> 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.
> 
> 
> 

GetQueuedCompletionStausEx is the one "modern" way to wait on SOCKET's, 
FILE's, etc...

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


#124273

From"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Date2026-07-10 15:33 -0700
Message-ID<112rs0g$1ji02$2@dont-email.me>
In reply to#124258
On 7/10/2026 4:02 AM, Michael S wrote:
> 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.
> 
> 
> 

Beware of WaitForMultipleObjects. You need to move the handles around or 
else starvation can occur!

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


#124234

From"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Date2026-07-08 14:15 -0700
Message-ID<112mel8$3u940$3@dont-email.me>
In reply to#124226
On 7/8/2026 2:34 AM, 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?

HUH? If you don't create a thread pool in Windows, you are not using 
one. There is no cost. Sigh...


> 
>>> but understandable in an OS that seems to require
>>> threads for everything. *nix however does not.
>>
>> 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? 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(). Thats how 1990s MUD & chat
> servers were written and IRC, Unaxcess along with plenty of other in house
> company servers.
> 

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


#124240

Fromboltar@caprica.universe
Date2026-07-09 08:55 +0000
Message-ID<112nnmv$1ne72$1@dont-email.me>
In reply to#124234
On Wed, 8 Jul 2026 14:15:20 -0700
"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled:
>On 7/8/2026 2:34 AM, 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?
>
>HUH? If you don't create a thread pool in Windows, you are not using 
>one. There is no cost. Sigh...

And then the pool is created is just appears by magic, no setup required
on the part of the OS?

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


#124245

From"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Date2026-07-09 12:51 -0700
Message-ID<112ou38$ll7m$2@dont-email.me>
In reply to#124240
On 7/9/2026 1:55 AM, boltar@caprica.universe wrote:
> On Wed, 8 Jul 2026 14:15:20 -0700
> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled:
>> On 7/8/2026 2:34 AM, 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?
>>
>> HUH? If you don't create a thread pool in Windows, you are not using 
>> one. There is no cost. Sigh...
> 
> And then the pool is created is just appears by magic, no setup required
> on the part of the OS?
> 

HUH!????? Wtf are you babbling on about, but really. Wow...

We can create a thread pool. Or we can say okay we don't need one. We 
don't pay for one if we don't need one.

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


#124255

Fromboltar@caprica.universe
Date2026-07-10 09:22 +0000
Message-ID<112qdkp$1439t$1@dont-email.me>
In reply to#124245
On Thu, 9 Jul 2026 12:51:04 -0700
"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled:
>On 7/9/2026 1:55 AM, boltar@caprica.universe wrote:
>> On Wed, 8 Jul 2026 14:15:20 -0700
>> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled:
>>> On 7/8/2026 2:34 AM, 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?
>>>
>>> HUH? If you don't create a thread pool in Windows, you are not using 
>>> one. There is no cost. Sigh...
>> 
>> And then the pool is created is just appears by magic, no setup required
>> on the part of the OS?
>> 
>
>HUH!????? Wtf are you babbling on about, but really. Wow...

I could ask you the same question.

>We can create a thread pool. Or we can say okay we don't need one. We 
>don't pay for one if we don't need one.

No, but if you do need one there is a cost. I'm not sure why this is
confusing you.

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


#124259

FromMichael S <already5chosen@yahoo.com>
Date2026-07-10 14:22 +0300
Message-ID<20260710142228.000032b4@yahoo.com>
In reply to#124255
On Fri, 10 Jul 2026 09:22:33 -0000 (UTC)
boltar@caprica.universe wrote:

> On Thu, 9 Jul 2026 12:51:04 -0700
> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled:
> >On 7/9/2026 1:55 AM, boltar@caprica.universe wrote:  
> >> On Wed, 8 Jul 2026 14:15:20 -0700
> >> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled:  
> >>> On 7/8/2026 2:34 AM, 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?  
> >>>
> >>> HUH? If you don't create a thread pool in Windows, you are not
> >>> using one. There is no cost. Sigh...  
> >> 
> >> And then the pool is created is just appears by magic, no setup
> >> required on the part of the OS?
> >>   
> >
> >HUH!????? Wtf are you babbling on about, but really. Wow...  
> 
> I could ask you the same question.
> 
> >We can create a thread pool. Or we can say okay we don't need one.
> >We don't pay for one if we don't need one.  
> 
> No, but if you do need one there is a cost. I'm not sure why this is
> confusing you.
> 

Of course, I would expect that when you call QueueUserWorkItem() for the
first time, it will cost a little more than CreateThread(). And each
time you call QueueUserWorkItem() when the pool is empty, it again
costs a tiny bit more than CreateThread(). But in the latter case the
difference is most likely undetectable.
That's how pools work. 
If you don't expect that cases when pool is not empty on request are
most common then don't use thread pool.

The point of QueueUserWorkItem() is not doing some magic that the user
can not on his own, but saving him programming time and bugs.






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


#124261

Fromboltar@caprica.universe
Date2026-07-10 11:24 +0000
Message-ID<112qkq2$1q8r6$1@dont-email.me>
In reply to#124259
On Fri, 10 Jul 2026 14:22:28 +0300
Michael S <already5chosen@yahoo.com> gabbled:
>On Fri, 10 Jul 2026 09:22:33 -0000 (UTC)
>boltar@caprica.universe wrote:
>> No, but if you do need one there is a cost. I'm not sure why this is
>> confusing you.
>> 
>
>Of course, I would expect that when you call QueueUserWorkItem() for the
>first time, it will cost a little more than CreateThread(). And each
>time you call QueueUserWorkItem() when the pool is empty, it again
>costs a tiny bit more than CreateThread(). But in the latter case the
>difference is most likely undetectable.

A pool is more than just an array of threads or you could simply do

vector<thread> mypool;

and call it a day. Thread pools have to be managed and that can be non trivial.

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


#124270

From"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Date2026-07-10 12:32 -0700
Message-ID<112rhc2$1g2r6$1@dont-email.me>
In reply to#124261
On 7/10/2026 4:24 AM, boltar@caprica.universe wrote:
> On Fri, 10 Jul 2026 14:22:28 +0300
> Michael S <already5chosen@yahoo.com> gabbled:
>> On Fri, 10 Jul 2026 09:22:33 -0000 (UTC)
>> boltar@caprica.universe wrote:
>>> No, but if you do need one there is a cost. I'm not sure why this is
>>> confusing you.
>>>
>>
>> Of course, I would expect that when you call QueueUserWorkItem() for the
>> first time, it will cost a little more than CreateThread(). And each
>> time you call QueueUserWorkItem() when the pool is empty, it again
>> costs a tiny bit more than CreateThread(). But in the latter case the
>> difference is most likely undetectable.
> 
> A pool is more than just an array of threads or you could simply do
> 
> vector<thread> mypool;
> 
> and call it a day. Thread pools have to be managed and that can be non trivial.
> 

Sigh. Knowing how to use threads is a first step! Then lets create a 
pool. So, you need to know how to use threads first, and yes that 
involves know how to sync them.

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


#124276

Fromboltar@caprica.universe
Date2026-07-11 09:29 +0000
Message-ID<112t2ea$2mbed$1@dont-email.me>
In reply to#124270
On Fri, 10 Jul 2026 12:32:18 -0700
"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled:
>On 7/10/2026 4:24 AM, boltar@caprica.universe wrote:
>> On Fri, 10 Jul 2026 14:22:28 +0300
>> Michael S <already5chosen@yahoo.com> gabbled:
>>> On Fri, 10 Jul 2026 09:22:33 -0000 (UTC)
>>> boltar@caprica.universe wrote:
>>>> No, but if you do need one there is a cost. I'm not sure why this is
>>>> confusing you.
>>>>
>>>
>>> Of course, I would expect that when you call QueueUserWorkItem() for the
>>> first time, it will cost a little more than CreateThread(). And each
>>> time you call QueueUserWorkItem() when the pool is empty, it again
>>> costs a tiny bit more than CreateThread(). But in the latter case the
>>> difference is most likely undetectable.
>> 
>> A pool is more than just an array of threads or you could simply do
>> 
>> vector<thread> mypool;
>> 
>> and call it a day. Thread pools have to be managed and that can be non
>trivial.
>> 
>
>Sigh. Knowing how to use threads is a first step! Then lets create a 
>pool. So, you need to know how to use threads first, and yes that 
>involves know how to sync them.

No shit Sherlock, did you get help from Watson with that one? Whats it got
to do with ease of implemtation:?

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


#124280

From"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Date2026-07-11 14:09 -0700
Message-ID<112ubev$2bfoi$2@dont-email.me>
In reply to#124276
On 7/11/2026 2:29 AM, boltar@caprica.universe wrote:
> On Fri, 10 Jul 2026 12:32:18 -0700
> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled:
>> On 7/10/2026 4:24 AM, boltar@caprica.universe wrote:
>>> On Fri, 10 Jul 2026 14:22:28 +0300
>>> Michael S <already5chosen@yahoo.com> gabbled:
>>>> On Fri, 10 Jul 2026 09:22:33 -0000 (UTC)
>>>> boltar@caprica.universe wrote:
>>>>> No, but if you do need one there is a cost. I'm not sure why this is
>>>>> confusing you.
>>>>>
>>>>
>>>> Of course, I would expect that when you call QueueUserWorkItem() for 
>>>> the
>>>> first time, it will cost a little more than CreateThread(). And each
>>>> time you call QueueUserWorkItem() when the pool is empty, it again
>>>> costs a tiny bit more than CreateThread(). But in the latter case the
>>>> difference is most likely undetectable.
>>>
>>> A pool is more than just an array of threads or you could simply do
>>>
>>> vector<thread> mypool;
>>>
>>> and call it a day. Thread pools have to be managed and that can be non
>> trivial.
>>>
>>
>> Sigh. Knowing how to use threads is a first step! Then lets create a 
>> pool. So, you need to know how to use threads first, and yes that 
>> involves know how to sync them.
> 
> No shit Sherlock, did you get help from Watson with that one? Whats it got
> to do with ease of implemtation:?
> 

Ease is relative. Hard for you perhaps?

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


#124284

Fromboltar@caprica.universe
Date2026-07-12 15:15 +0000
Message-ID<1130b2i$1vkf4$1@dont-email.me>
In reply to#124280
On Sat, 11 Jul 2026 14:09:51 -0700
"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled:
>On 7/11/2026 2:29 AM, boltar@caprica.universe wrote:
>> On Fri, 10 Jul 2026 12:32:18 -0700
>> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled:
>>> On 7/10/2026 4:24 AM, boltar@caprica.universe wrote:
>>>> On Fri, 10 Jul 2026 14:22:28 +0300
>>>> Michael S <already5chosen@yahoo.com> gabbled:
>>>>> On Fri, 10 Jul 2026 09:22:33 -0000 (UTC)
>>>>> boltar@caprica.universe wrote:
>>>>>> No, but if you do need one there is a cost. I'm not sure why this is
>>>>>> confusing you.
>>>>>>
>>>>>
>>>>> Of course, I would expect that when you call QueueUserWorkItem() for 
>>>>> the
>>>>> first time, it will cost a little more than CreateThread(). And each
>>>>> time you call QueueUserWorkItem() when the pool is empty, it again
>>>>> costs a tiny bit more than CreateThread(). But in the latter case the
>>>>> difference is most likely undetectable.
>>>>
>>>> A pool is more than just an array of threads or you could simply do
>>>>
>>>> vector<thread> mypool;
>>>>
>>>> and call it a day. Thread pools have to be managed and that can be non
>>> trivial.
>>>>
>>>
>>> Sigh. Knowing how to use threads is a first step! Then lets create a 
>>> pool. So, you need to know how to use threads first, and yes that 
>>> involves know how to sync them.
>> 
>> No shit Sherlock, did you get help from Watson with that one? Whats it got
>> to do with ease of implemtation:?
>> 
>
>Ease is relative. Hard for you perhaps?

Yes, its relative to creating a thread then detaching. 2 lines of C++, not
much more in C. So, as I keep asking, show us your "simple" pool code.

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


#124288

From"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Date2026-07-12 10:58 -0700
Message-ID<1130kkv$30s27$1@dont-email.me>
In reply to#124284
On 7/12/2026 8:15 AM, boltar@caprica.universe wrote:
> On Sat, 11 Jul 2026 14:09:51 -0700
> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled:
[...]
>> Ease is relative. Hard for you perhaps?
> 
> Yes, its relative to creating a thread then detaching. 2 lines of C++, not
> much more in C. So, as I keep asking, show us your "simple" pool code.
> 

I don't work for you. I already showed you a little thread pool using my 
experimental lock-free stack, you mocked it. I am working on some other 
things right now. Fwiw, check this shit out:

https://skfb.ly/pyP9E

https://skfb.ly/pyXH6

https://skfb.ly/pzTEC

Can your system view these?

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


#124294

Fromboltar@caprica.universe
Date2026-07-13 09:39 +0000
Message-ID<1132bpc$3g3i1$1@dont-email.me>
In reply to#124288
On Sun, 12 Jul 2026 10:58:55 -0700
"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled:
>On 7/12/2026 8:15 AM, boltar@caprica.universe wrote:
>> On Sat, 11 Jul 2026 14:09:51 -0700
>> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled:
>[...]
>>> Ease is relative. Hard for you perhaps?
>> 
>> Yes, its relative to creating a thread then detaching. 2 lines of C++, not
>> much more in C. So, as I keep asking, show us your "simple" pool code.
>> 
>
>I don't work for you. I already showed you a little thread pool using my 
>experimental lock-free stack, you mocked it. I am working on some other 
>things right now. Fwiw, check this shit out:

I didn't mock it, it simply wasn't an example of thread pool code any more
than just giving the source to the linux kernel would be.

>https://skfb.ly/pyP9E
>
>https://skfb.ly/pyXH6
>
>https://skfb.ly/pzTEC
>
>Can your system view these?

Once, then cloudfront gave up. Anyway, very impressive but I'm not interested
in webassembly.

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


#124300

From"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Date2026-07-13 13:14 -0700
Message-ID<1133gv6$3sae4$1@dont-email.me>
In reply to#124294
On 7/13/2026 2:39 AM, boltar@caprica.universe wrote:
> On Sun, 12 Jul 2026 10:58:55 -0700
> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled:
>> On 7/12/2026 8:15 AM, boltar@caprica.universe wrote:
>>> On Sat, 11 Jul 2026 14:09:51 -0700
>>> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled:
>> [...]
>>>> Ease is relative. Hard for you perhaps?
>>>
>>> Yes, its relative to creating a thread then detaching. 2 lines of C+ 
>>> +, not
>>> much more in C. So, as I keep asking, show us your "simple" pool code.
>>>
>>
>> I don't work for you. I already showed you a little thread pool using 
>> my experimental lock-free stack, you mocked it. I am working on some 
>> other things right now. Fwiw, check this shit out:
> 
> I didn't mock it, it simply wasn't an example of thread pool code any more
> than just giving the source to the linux kernel would be.
> 
>> https://skfb.ly/pyP9E
>>
>> https://skfb.ly/pyXH6
>>
>> https://skfb.ly/pzTEC
>>
>> Can your system view these?
> 
> Once, then cloudfront gave up. Anyway, very impressive but I'm not 
> interested
> in webassembly.
> 

Oh. I meant my models. Btw, afaict the site uses WebGL.

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


#124197

From"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Date2026-07-05 13:16 -0700
Message-ID<112ee2b$1cvmg$1@dont-email.me>
In reply to#124191
On 7/5/2026 8:48 AM, boltar@caprica.universe wrote:
> On Sun, 5 Jul 2026 01:21:56 -0700
> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled:
>> On 7/5/2026 1:19 AM, boltar@caprica.universe wrote:
>>> On Sat, 4 Jul 2026 17:32:07 -0700
>>> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled:
>>>> On 7/4/2026 2:16 AM, boltar@caprica.universe wrote:
>>>>> On Fri, 3 Jul 2026 12:44:07 -0700
>>>>> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled:
>>>>>> On 7/3/2026 1:59 AM, boltar@caprica.universe wrote:
>>>>>>> I'd hate to see your code, must be an overcomplicated mess.
>>>>>>>
>>>>>>
>>>>>> Set your coffee down! Here is my raw test for my mind trying to 
>>>>>> sketch out an IOCP server setup from my memory... It should 
>>>>>> compile for you, I 
>>>>>
>>>>> Are you seriously expecting me to believe you spent a morning 
>>>>> writing the
>>>>> 1200 lines of code below from memory? Oh please.
>>>>
>>>> Several days on some free time, yes, from memory.
>>>
>>> What an exiting life you must have.
>>>
>>>>> Also it looks like win32 code and AFAIK windows for [reasons] can't do
>>>>> multiplexing on sockets so you have the ridiculous situation of 
>>>>> needing a
>>>>> thread per connection whether you like it or not.
>>>>
>>>> Huh? When is the last time you used GetQueuedCompletionStatusEx?
>>>
>>> Never even heard of it. Can it also multiplex file descriptors + std 
>>> in,out,err
>>> in the same call like select() or poll()? No, didn't think so, so 
>>> you'll still
>>> need multiple threads if you want to do all at the same time. Good 
>>> old half
>>> assed win32.
>>
>> Huh? It can work with SOCKETS and FILES.
> 
> Well thats nice. What about pipes, fifos and character and block devices?
> Of course if they'd use the interface that was standard even when they 
> were developing win32 it would have been more useful.
> 
>>> So show a short example in 20 lines or less then if its as "simple" 
>>> as you
>>> claim.
>>>
>>
>> Huh? My ralloc code or a thread pool?
> 
> A thread pool, I have no idea what your ralloc code is supposed to do and I
> couldn't care less about it. You were claiming thread pools are easy to 
> implement so lets see a nice easy example.
> 

Also... If you think that over 20 lines is complicated, well... You 
would be fired on the spot?

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


#124203

Fromboltar@caprica.universe
Date2026-07-06 09:29 +0000
Message-ID<112fshe$1fhof$1@dont-email.me>
In reply to#124197
On Sun, 5 Jul 2026 13:16:11 -0700
"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled:
>On 7/5/2026 8:48 AM, boltar@caprica.universe wrote:
>> A thread pool, I have no idea what your ralloc code is supposed to do and I
>> couldn't care less about it. You were claiming thread pools are easy to 
>> implement so lets see a nice easy example.
>> 
>
>Also... If you think that over 20 lines is complicated, well... You 
>would be fired on the spot?

You were claiming thread pools are so simple to implement why would anyone
not use them. So lets see this simple code of yours, not just some class
framework without the details.

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


#124210

From"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Date2026-07-06 12:49 -0700
Message-ID<112h0s6$2as3s$1@dont-email.me>
In reply to#124203
On 7/6/2026 2:29 AM, boltar@caprica.universe wrote:
> On Sun, 5 Jul 2026 13:16:11 -0700
> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled:
>> On 7/5/2026 8:48 AM, boltar@caprica.universe wrote:
>>> A thread pool, I have no idea what your ralloc code is supposed to do 
>>> and I
>>> couldn't care less about it. You were claiming thread pools are easy 
>>> to implement so lets see a nice easy example.
>>>
>>
>> Also... If you think that over 20 lines is complicated, well... You 
>> would be fired on the spot?
> 
> You were claiming thread pools are so simple to implement why would anyone
> not use them. So lets see this simple code of yours, not just some class
> framework without the details.
> 

I am going to make one for my iocp memory experiment. There are many 
different ways to engineer them. Then I need to see if I want to use C++ 
per_thread data, or use C. Actually, using C for TLS is more to the point.

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


#124215

Fromboltar@caprica.universe
Date2026-07-07 10:41 +0000
Message-ID<112il59$2pmpf$1@dont-email.me>
In reply to#124210
On Mon, 6 Jul 2026 12:49:24 -0700
"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled:
>On 7/6/2026 2:29 AM, boltar@caprica.universe wrote:
>> On Sun, 5 Jul 2026 13:16:11 -0700
>> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled:
>>> On 7/5/2026 8:48 AM, boltar@caprica.universe wrote:
>>>> A thread pool, I have no idea what your ralloc code is supposed to do 
>>>> and I
>>>> couldn't care less about it. You were claiming thread pools are easy 
>>>> to implement so lets see a nice easy example.
>>>>
>>>
>>> Also... If you think that over 20 lines is complicated, well... You 
>>> would be fired on the spot?
>> 
>> You were claiming thread pools are so simple to implement why would anyone
>> not use them. So lets see this simple code of yours, not just some class
>> framework without the details.
>> 
>
>I am going to make one for my iocp memory experiment. There are many 
>different ways to engineer them. Then I need to see if I want to use C++ 
>per_thread data, or use C. Actually, using C for TLS is more to the point.

So you don't have any code yet. Got it.

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


Page 4 of 10 — ← Prev page 1 2 3 [4] 5 6 … 10  Next page →

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


csiph-web