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


#124335

FromMichael S <already5chosen@yahoo.com>
Date2026-07-19 04:56 +0300
Message-ID<20260719045639.00001597@yahoo.com>
In reply to#124332
On Sat, 18 Jul 2026 17:18:48 -0700
"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> wrote:

> On 7/18/2026 5:15 PM, Chris M. Thomasson wrote:
> > On 7/18/2026 1:12 PM, Michael S wrote:  
> >> On Fri, 17 Jul 2026 12:00:55 -0700
> >> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> wrote:
> >>  
> >>> On 7/17/2026 3:32 AM, Michael S wrote:  
> >>>> On Thu, 16 Jul 2026 12:37:20 -0700
> >>>> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> wrote:  
> >>>>>
> >>>>> If I am on Windows I use IOCP and use all of it, all the bells
> >>>>> ans whistles. If I am on Linux, I would use io_uring for SURE!  
> >>>>  
> >>>
> >>> Well, when in Rome? IOCP on Windows is the way to write a server,
> >>> or a client for that matter. On my free time I am slowly but
> >>> surely recreating my old proxy server code from around 2002. So
> >>> far mostly from memory. Some of the API's are messing me up a
> >>> little. Hard to remember them.
> >>>
> >>> On Linux AIO or io_uring. The fun part is that they have very
> >>> similar logic to IOCP.  
> >>
> >>
> >> So you never measure if complicated code is faster than the simple
> >> one or not.
> >> Somehow, it's what I expected.
> >>
> >>  
> > 
> > Why do you assume that? IOCP is WAY more efficient than using say, 
> > select, or the event based thing using WaitForMultipleObjects. AIO
> > or io_uring is way more efficient than using select, even epoll
> > iirc.
> > 
> > If you are building a robust server that is meant to scale up, we
> > need these API's.  
> 
> Back in the day, 20+ years ago I experimented with all sort of 
> completion techniques. Worst by far is the thread per connection
> crap. It does not scale at all. Actually, WaitForMultipleObjects
> worked kind of okay but we must remember to scramble or shift the
> objects in the array to avoid starvation. select did not scale,
> etc... IOCP on Windows is bar none, the way to go.

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


#124336

FromMichael S <already5chosen@yahoo.com>
Date2026-07-19 05:00 +0300
Message-ID<20260719050030.000005bb@yahoo.com>
In reply to#124332
On Sat, 18 Jul 2026 17:18:48 -0700
"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> wrote:

> On 7/18/2026 5:15 PM, Chris M. Thomasson wrote:
> > On 7/18/2026 1:12 PM, Michael S wrote:  
> >> On Fri, 17 Jul 2026 12:00:55 -0700
> >> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> wrote:
> >>  
> >>> On 7/17/2026 3:32 AM, Michael S wrote:  
> >>>> On Thu, 16 Jul 2026 12:37:20 -0700
> >>>> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> wrote:  
> >>>>>
> >>>>> If I am on Windows I use IOCP and use all of it, all the bells
> >>>>> ans whistles. If I am on Linux, I would use io_uring for SURE!  
> >>>>  
> >>>
> >>> Well, when in Rome? IOCP on Windows is the way to write a server,
> >>> or a client for that matter. On my free time I am slowly but
> >>> surely recreating my old proxy server code from around 2002. So
> >>> far mostly from memory. Some of the API's are messing me up a
> >>> little. Hard to remember them.
> >>>
> >>> On Linux AIO or io_uring. The fun part is that they have very
> >>> similar logic to IOCP.  
> >>
> >>
> >> So you never measure if complicated code is faster than the simple
> >> one or not.
> >> Somehow, it's what I expected.
> >>
> >>  
> > 
> > Why do you assume that? IOCP is WAY more efficient than using say, 
> > select, or the event based thing using WaitForMultipleObjects. AIO
> > or io_uring is way more efficient than using select, even epoll
> > iirc.
> > 
> > If you are building a robust server that is meant to scale up, we
> > need these API's.  
> 
> Back in the day, 20+ years ago I experimented with all sort of 
> completion techniques. Worst by far is the thread per connection
> crap. It does not scale at all. Actually, WaitForMultipleObjects
> worked kind of okay but we must remember to scramble or shift the
> objects in the array to avoid starvation. select did not scale,
> etc... IOCP on Windows is bar none, the way to go.

What was correct 20+ years ago (would not surprise me if in fact
your measurements were done 25+ years ago) is VERY likely to be wrong
today.
Esp. so for servers that never see a lot of load. Definition of "a
lot" also changed.






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


#124340

From"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Date2026-07-19 13:54 -0700
Message-ID<113jdhe$l8tp$1@dont-email.me>
In reply to#124336
On 7/18/2026 7:00 PM, Michael S wrote:
> On Sat, 18 Jul 2026 17:18:48 -0700
> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> wrote:
> 
>> On 7/18/2026 5:15 PM, Chris M. Thomasson wrote:
>>> On 7/18/2026 1:12 PM, Michael S wrote:
>>>> On Fri, 17 Jul 2026 12:00:55 -0700
>>>> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> wrote:
>>>>   
>>>>> On 7/17/2026 3:32 AM, Michael S wrote:
>>>>>> On Thu, 16 Jul 2026 12:37:20 -0700
>>>>>> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> wrote:
>>>>>>>
>>>>>>> If I am on Windows I use IOCP and use all of it, all the bells
>>>>>>> ans whistles. If I am on Linux, I would use io_uring for SURE!
>>>>>>   
>>>>>
>>>>> Well, when in Rome? IOCP on Windows is the way to write a server,
>>>>> or a client for that matter. On my free time I am slowly but
>>>>> surely recreating my old proxy server code from around 2002. So
>>>>> far mostly from memory. Some of the API's are messing me up a
>>>>> little. Hard to remember them.
>>>>>
>>>>> On Linux AIO or io_uring. The fun part is that they have very
>>>>> similar logic to IOCP.
>>>>
>>>>
>>>> So you never measure if complicated code is faster than the simple
>>>> one or not.
>>>> Somehow, it's what I expected.
>>>>
>>>>   
>>>
>>> Why do you assume that? IOCP is WAY more efficient than using say,
>>> select, or the event based thing using WaitForMultipleObjects. AIO
>>> or io_uring is way more efficient than using select, even epoll
>>> iirc.
>>>
>>> If you are building a robust server that is meant to scale up, we
>>> need these API's.
>>
>> Back in the day, 20+ years ago I experimented with all sort of
>> completion techniques. Worst by far is the thread per connection
>> crap. It does not scale at all. Actually, WaitForMultipleObjects
>> worked kind of okay but we must remember to scramble or shift the
>> objects in the array to avoid starvation. select did not scale,
>> etc... IOCP on Windows is bar none, the way to go.
> 
> What was correct 20+ years ago (would not surprise me if in fact
> your measurements were done 25+ years ago) is VERY likely to be wrong
> today.
> Esp. so for servers that never see a lot of load. Definition of "a
> lot" also changed.

A lot of load back then was around 50 to 60 thousand concurrent 
connections all loaded with activity, some random disconnects, graceful 
shutdowns, connect then artificially wait trying to blow the server up, 
need timeout detection here, anyway... Thread per connections were crap 
wrt scalability! BIG TIME! IOCP on Windows, the only way.

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


#124337

Fromboltar@caprica.universe
Date2026-07-19 07:57 +0000
Message-ID<113i013$6geu$1@dont-email.me>
In reply to#124331
On Sat, 18 Jul 2026 17:15:28 -0700
"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled:
>On 7/18/2026 1:12 PM, Michael S wrote:
>> On Fri, 17 Jul 2026 12:00:55 -0700
>> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> wrote:
>> So you never measure if complicated code is faster than the simple one
>> or not.
>> Somehow, it's what I expected.
>> 
>> 
>
>Why do you assume that? IOCP is WAY more efficient than using say, 
>select, or the event based thing using WaitForMultipleObjects. AIO or 
>io_uring is way more efficient than using select, even epoll iirc.
>
>If you are building a robust server that is meant to scale up, we need 
>these API's.

I've never used io_uring on linux but just looking at the man page makes
me want to run for the hills. Setup and retrieval looks highly complicated 
with C pointers all over the place. Frankly the io_uring_sqe structure is a 
horror story. There are probably easier ways to get high server throughput
than dicking about with this awful API.

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


#124341

From"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Date2026-07-19 13:54 -0700
Message-ID<113jdis$l8tp$2@dont-email.me>
In reply to#124337
On 7/19/2026 12:57 AM, boltar@caprica.universe wrote:
> On Sat, 18 Jul 2026 17:15:28 -0700
> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled:
>> On 7/18/2026 1:12 PM, Michael S wrote:
>>> On Fri, 17 Jul 2026 12:00:55 -0700
>>> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> wrote:
>>> So you never measure if complicated code is faster than the simple one
>>> or not.
>>> Somehow, it's what I expected.
>>>
>>>
>>
>> Why do you assume that? IOCP is WAY more efficient than using say, 
>> select, or the event based thing using WaitForMultipleObjects. AIO or 
>> io_uring is way more efficient than using select, even epoll iirc.
>>
>> If you are building a robust server that is meant to scale up, we need 
>> these API's.
> 
> I've never used io_uring on linux but just looking at the man page makes
> me want to run for the hills. Setup and retrieval looks highly 
> complicated with C pointers all over the place. Frankly the io_uring_sqe 
> structure is a horror story. There are probably easier ways to get high 
> server throughput
> than dicking about with this awful API.
> 

Make your own. Heck... io_uring is more low level than IOCP!

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


#124343

From"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Date2026-07-19 13:57 -0700
Message-ID<113jdn7$l8tp$4@dont-email.me>
In reply to#124337
On 7/19/2026 12:57 AM, boltar@caprica.universe wrote:
> On Sat, 18 Jul 2026 17:15:28 -0700
> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled:
>> On 7/18/2026 1:12 PM, Michael S wrote:
>>> On Fri, 17 Jul 2026 12:00:55 -0700
>>> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> wrote:
>>> So you never measure if complicated code is faster than the simple one
>>> or not.
>>> Somehow, it's what I expected.
>>>
>>>
>>
>> Why do you assume that? IOCP is WAY more efficient than using say, 
>> select, or the event based thing using WaitForMultipleObjects. AIO or 
>> io_uring is way more efficient than using select, even epoll iirc.
>>
>> If you are building a robust server that is meant to scale up, we need 
>> these API's.
> 
> I've never used io_uring on linux but just looking at the man page makes
> me want to run for the hills. Setup and retrieval looks highly 
> complicated with C pointers all over the place. Frankly the io_uring_sqe 
> structure is a horror story. There are probably easier ways to get high 
> server throughput
> than dicking about with this awful API.
> 

Btw, if you don't like C... Well, don't use POSIX at all. Stay away from 
any linux C API's, etc... ;^)

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


#124346

Fromboltar@battlestar-galactica.com
Date2026-07-20 07:51 +0000
Message-ID<113kk2c$2j3rq$1@dont-email.me>
In reply to#124343
On Sun, 19 Jul 2026 13:57:11 -0700
"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> wrote:
>On 7/19/2026 12:57 AM, boltar@caprica.universe wrote:
>> I've never used io_uring on linux but just looking at the man page makes
>> me want to run for the hills. Setup and retrieval looks highly 
>> complicated with C pointers all over the place. Frankly the io_uring_sqe 
>> structure is a horror story. There are probably easier ways to get high 
>> server throughput
>> than dicking about with this awful API.
>> 
>
>Btw, if you don't like C... Well, don't use POSIX at all. Stay away from 
>any linux C API's, etc... ;^)

I don't have a problem with C but I understand that it gets to a point
where the complexity of something can overwhelm even the best developer
and IMO io_uring has reached that point.

Also its why I use C++ and so don't have to re-write my own hash function
or red black tree container every time I write some code.

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


#124348

From"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Date2026-07-20 13:15 -0700
Message-ID<113lvlp$1fdp8$1@dont-email.me>
In reply to#124346
On 7/20/2026 12:51 AM, boltar@battlestar-galactica.com wrote:
> On Sun, 19 Jul 2026 13:57:11 -0700
> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> wrote:
>> On 7/19/2026 12:57 AM, boltar@caprica.universe wrote:
>>> I've never used io_uring on linux but just looking at the man page makes
>>> me want to run for the hills. Setup and retrieval looks highly 
>>> complicated with C pointers all over the place. Frankly the 
>>> io_uring_sqe structure is a horror story. There are probably easier 
>>> ways to get high server throughput
>>> than dicking about with this awful API.
>>>
>>
>> Btw, if you don't like C... Well, don't use POSIX at all. Stay away 
>> from any linux C API's, etc... ;^)
> 
> I don't have a problem with C but I understand that it gets to a point
> where the complexity of something can overwhelm even the best developer
> and IMO io_uring has reached that point.

io_uring vs aio is way different at hyper low level. Almost akin to the 
difference between dx11 vs dx12, or Vulkan.

Use it when you want to get scalable servers.

Afaict, IOCP is the best windows has at the moment...


> Also its why I use C++ and so don't have to re-write my own hash function
> or red black tree container every time I write some code.

Fair enough. C++ can handle low level as good as C can. Notice my 
atomic_region and my ralloc region allocator I posted in this thread? 
They can be used with io_uring. mmap, does not matter.

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


#124334

From"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Date2026-07-18 17:37 -0700
Message-ID<113h68l$6pj$1@dont-email.me>
In reply to#124329
On 7/18/2026 1:12 PM, Michael S wrote:
> On Fri, 17 Jul 2026 12:00:55 -0700
> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> wrote:
> 
>> On 7/17/2026 3:32 AM, Michael S wrote:
>>> On Thu, 16 Jul 2026 12:37:20 -0700
>>> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> wrote:
>>>>
>>>> If I am on Windows I use IOCP and use all of it, all the bells ans
>>>> whistles. If I am on Linux, I would use io_uring for SURE!
>>>>   
>>>
>>
>> Well, when in Rome? IOCP on Windows is the way to write a server, or
>> a client for that matter. On my free time I am slowly but surely
>> recreating my old proxy server code from around 2002. So far mostly
>> from memory. Some of the API's are messing me up a little. Hard to
>> remember them.
>>
>> On Linux AIO or io_uring. The fun part is that they have very similar
>> logic to IOCP.
> 
> 
> So you never measure if complicated code is faster than the simple one
> or not.
> Somehow, it's what I expected.
> 
> 

Fwiw, 
https://www.devdigest.org/articles/epoll-vs-io-uring-why-linux-async-io-changed-forever

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


#124312

From"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Date2026-07-16 12:40 -0700
Message-ID<113bc3r$27vdr$2@dont-email.me>
In reply to#124310
On 7/16/2026 3:44 AM, boltar@caprica.universe wrote:
> On Wed, 15 Jul 2026 15:51:10 -0700
> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled:
>> On 7/15/2026 8:54 AM, boltar@caprica.universe wrote:
>>> On Wed, 15 Jul 2026 14:07:58 GMT
>>> scott@slp53.sl.home (Scott Lurndal) gabbled:
>>>> boltar@caprica.universe writes:
>>>>> On Tue, 14 Jul 2026 13:45:36 -0700
>>>>> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled:
>>>>
>>>>>> Huh? It saves a lot of work wrt closesocket, and calling WSASocket
>>>>>
>>>>> I have no idea what "work" windows does with sockets but as I've 
>>>>> said more
>>>>> than once, on unix a socket is just an id number used to link 
>>>>> userspace to
>>>>
>>>> Specifically, the socket(2) system call returns a standard file 
>>>> descriptor
>>>> that can be used with the other file-related system calls such as read,
>>>> write, poll/select, ioctl, etc.
>>>
>>> Indeed. Windows OTOH appears to have a specific C struct for sockets 
>>> which
>> seems
>>> unnecessarily complicated.
>>>
>>
>> Avoiding another call to WSASocket is beneficial.
> 
> If windows didn't have a userspace struct representing a socket it wouldn't
> be needed in the first place.
> 

Why would you closesocket, when we can issue a DisconnectEx and once 
that per_io get completed in the io_worker thread pool, we can add the 
socket back to the per_socket pool(s), or just issue a new AcceptEx 
right there! No need to call closesocket, and then WSASocket again, right?

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


#124317

Fromboltar@caprica.universe
Date2026-07-17 09:27 +0000
Message-ID<113csh7$2ug9k$1@dont-email.me>
In reply to#124312
On Thu, 16 Jul 2026 12:40:42 -0700
"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled:
>On 7/16/2026 3:44 AM, boltar@caprica.universe wrote:
>> On Wed, 15 Jul 2026 15:51:10 -0700
>> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled:
>>> On 7/15/2026 8:54 AM, boltar@caprica.universe wrote:
>>>> On Wed, 15 Jul 2026 14:07:58 GMT
>>>> scott@slp53.sl.home (Scott Lurndal) gabbled:
>>>>> boltar@caprica.universe writes:
>>>>>> On Tue, 14 Jul 2026 13:45:36 -0700
>>>>>> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled:
>>>>>
>>>>>>> Huh? It saves a lot of work wrt closesocket, and calling WSASocket
>>>>>>
>>>>>> I have no idea what "work" windows does with sockets but as I've 
>>>>>> said more
>>>>>> than once, on unix a socket is just an id number used to link 
>>>>>> userspace to
>>>>>
>>>>> Specifically, the socket(2) system call returns a standard file 
>>>>> descriptor
>>>>> that can be used with the other file-related system calls such as read,
>>>>> write, poll/select, ioctl, etc.
>>>>
>>>> Indeed. Windows OTOH appears to have a specific C struct for sockets 
>>>> which
>>> seems
>>>> unnecessarily complicated.
>>>>
>>>
>>> Avoiding another call to WSASocket is beneficial.
>> 
>> If windows didn't have a userspace struct representing a socket it wouldn't
>> be needed in the first place.
>> 
>
>Why would you closesocket, when we can issue a DisconnectEx and once 
>that per_io get completed in the io_worker thread pool, we can add the 
>socket back to the per_socket pool(s), or just issue a new AcceptEx 
>right there! No need to call closesocket, and then WSASocket again, right?

No idea, I'm not a win32 developer. Windows seems to make a complete meal
out of what should be - in userspace - a simple process.

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


#124342

From"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Date2026-07-19 13:55 -0700
Message-ID<113jdk9$l8tp$3@dont-email.me>
In reply to#124317
On 7/17/2026 2:27 AM, boltar@caprica.universe wrote:
> On Thu, 16 Jul 2026 12:40:42 -0700
> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled:
>> On 7/16/2026 3:44 AM, boltar@caprica.universe wrote:
>>> On Wed, 15 Jul 2026 15:51:10 -0700
>>> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled:
>>>> On 7/15/2026 8:54 AM, boltar@caprica.universe wrote:
>>>>> On Wed, 15 Jul 2026 14:07:58 GMT
>>>>> scott@slp53.sl.home (Scott Lurndal) gabbled:
>>>>>> boltar@caprica.universe writes:
>>>>>>> On Tue, 14 Jul 2026 13:45:36 -0700
>>>>>>> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled:
>>>>>>
>>>>>>>> Huh? It saves a lot of work wrt closesocket, and calling WSASocket
>>>>>>>
>>>>>>> I have no idea what "work" windows does with sockets but as I've 
>>>>>>> said more
>>>>>>> than once, on unix a socket is just an id number used to link 
>>>>>>> userspace to
>>>>>>
>>>>>> Specifically, the socket(2) system call returns a standard file 
>>>>>> descriptor
>>>>>> that can be used with the other file-related system calls such as 
>>>>>> read,
>>>>>> write, poll/select, ioctl, etc.
>>>>>
>>>>> Indeed. Windows OTOH appears to have a specific C struct for 
>>>>> sockets which
>>>> seems
>>>>> unnecessarily complicated.
>>>>>
>>>>
>>>> Avoiding another call to WSASocket is beneficial.
>>>
>>> If windows didn't have a userspace struct representing a socket it 
>>> wouldn't
>>> be needed in the first place.
>>>
>>
>> Why would you closesocket, when we can issue a DisconnectEx and once 
>> that per_io get completed in the io_worker thread pool, we can add the 
>> socket back to the per_socket pool(s), or just issue a new AcceptEx 
>> right there! No need to call closesocket, and then WSASocket again, 
>> right?
> 
> No idea, I'm not a win32 developer. Windows seems to make a complete meal
> out of what should be - in userspace - a simple process.
> 

Make your own OS and show them how its done. ;^)

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


#124345

Fromboltar@battlestar-galactica.com
Date2026-07-20 07:49 +0000
Message-ID<113kju7$2j3h7$1@dont-email.me>
In reply to#124342
On Sun, 19 Jul 2026 13:55:37 -0700
"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> wrote:
>On 7/17/2026 2:27 AM, boltar@caprica.universe wrote:
>> No idea, I'm not a win32 developer. Windows seems to make a complete meal
>> out of what should be - in userspace - a simple process.
>> 
>
>Make your own OS and show them how its done. ;^)

I dont need to - thomson and Richie did it in 1969.

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


#124349

From"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Date2026-07-20 13:16 -0700
Message-ID<113lvnm$1fdp8$2@dont-email.me>
In reply to#124345
On 7/20/2026 12:49 AM, boltar@battlestar-galactica.com wrote:
> On Sun, 19 Jul 2026 13:55:37 -0700
> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> wrote:
>> On 7/17/2026 2:27 AM, boltar@caprica.universe wrote:
>>> No idea, I'm not a win32 developer. Windows seems to make a complete 
>>> meal
>>> out of what should be - in userspace - a simple process.
>>>
>>
>> Make your own OS and show them how its done. ;^)
> 
> I dont need to - thomson and Richie did it in 1969.
> 

Well, patch the linux kernel, or the winnt kernel, and show them how you 
make use of your new socket infrastructure?

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


#124350

Fromboltar@battlestar-galactica.com
Date2026-07-21 15:55 +0000
Message-ID<113o4pp$2458s$1@dont-email.me>
In reply to#124349
On Mon, 20 Jul 2026 13:16:54 -0700
"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> wrote:
>On 7/20/2026 12:49 AM, boltar@battlestar-galactica.com wrote:
>> On Sun, 19 Jul 2026 13:55:37 -0700
>> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> wrote:
>>> On 7/17/2026 2:27 AM, boltar@caprica.universe wrote:
>>>> No idea, I'm not a win32 developer. Windows seems to make a complete 
>>>> meal
>>>> out of what should be - in userspace - a simple process.
>>>>
>>>
>>> Make your own OS and show them how its done. ;^)
>> 
>> I dont need to - thomson and Richie did it in 1969.
>> 
>
>Well, patch the linux kernel, or the winnt kernel, and show them how you 
>make use of your new socket infrastructure?

I don't follow. All I'm saying is while its not perfect, the unix - and later
posix - socket model is reasonably simple and dovetails nicely with other
file descriptor based user subsystems. The only addition I would make is to
make AF_INET sockets visible in the filesystem just like AF_UNIX ones.

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


#124351

From"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Date2026-07-21 13:47 -0700
Message-ID<113olt6$2b1f7$1@dont-email.me>
In reply to#124350
On 7/21/2026 8:55 AM, boltar@battlestar-galactica.com wrote:
> On Mon, 20 Jul 2026 13:16:54 -0700
> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> wrote:
>> On 7/20/2026 12:49 AM, boltar@battlestar-galactica.com wrote:
>>> On Sun, 19 Jul 2026 13:55:37 -0700
>>> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> wrote:
>>>> On 7/17/2026 2:27 AM, boltar@caprica.universe wrote:
>>>>> No idea, I'm not a win32 developer. Windows seems to make a 
>>>>> complete meal
>>>>> out of what should be - in userspace - a simple process.
>>>>>
>>>>
>>>> Make your own OS and show them how its done. ;^)
>>>
>>> I dont need to - thomson and Richie did it in 1969.
>>>
>>
>> Well, patch the linux kernel, or the winnt kernel, and show them how 
>> you make use of your new socket infrastructure?
> 
> I don't follow. All I'm saying is while its not perfect, the unix - and 
> later
> posix - socket model is reasonably simple and dovetails nicely with other
> file descriptor based user subsystems. The only addition I would make is to
> make AF_INET sockets visible in the filesystem just like AF_UNIX ones.
> 

But, you are telling us how it should work, when you don't know how it 
does work?

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


#124352

Fromboltar@battlestar-galactica.com
Date2026-07-21 21:13 +0000
Message-ID<113ond3$2ncgf$1@dont-email.me>
In reply to#124351
On Tue, 21 Jul 2026 13:47:34 -0700
"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> wrote:
>On 7/21/2026 8:55 AM, boltar@battlestar-galactica.com wrote:
>> On Mon, 20 Jul 2026 13:16:54 -0700
>> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> wrote:
>>> On 7/20/2026 12:49 AM, boltar@battlestar-galactica.com wrote:
>>>> On Sun, 19 Jul 2026 13:55:37 -0700
>>>> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> wrote:
>>>>> On 7/17/2026 2:27 AM, boltar@caprica.universe wrote:
>>>>>> No idea, I'm not a win32 developer. Windows seems to make a 
>>>>>> complete meal
>>>>>> out of what should be - in userspace - a simple process.
>>>>>>
>>>>>
>>>>> Make your own OS and show them how its done. ;^)
>>>>
>>>> I dont need to - thomson and Richie did it in 1969.
>>>>
>>>
>>> Well, patch the linux kernel, or the winnt kernel, and show them how 
>>> you make use of your new socket infrastructure?
>> 
>> I don't follow. All I'm saying is while its not perfect, the unix - and 
>> later
>> posix - socket model is reasonably simple and dovetails nicely with other
>> file descriptor based user subsystems. The only addition I would make is to
>> make AF_INET sockets visible in the filesystem just like AF_UNIX ones.
>> 
>
>But, you are telling us how it should work, when you don't know how it 
>does work?

I don't care about the kernel implementation, I'm talking about the userspace
side. I'd have thought that was obvious.

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


#124353

From"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Date2026-07-21 14:28 -0700
Message-ID<113ooab$2brr0$1@dont-email.me>
In reply to#124352
On 7/21/2026 2:13 PM, boltar@battlestar-galactica.com wrote:
> On Tue, 21 Jul 2026 13:47:34 -0700
> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> wrote:
>> On 7/21/2026 8:55 AM, boltar@battlestar-galactica.com wrote:
>>> On Mon, 20 Jul 2026 13:16:54 -0700
>>> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> wrote:
>>>> On 7/20/2026 12:49 AM, boltar@battlestar-galactica.com wrote:
>>>>> On Sun, 19 Jul 2026 13:55:37 -0700
>>>>> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> wrote:
>>>>>> On 7/17/2026 2:27 AM, boltar@caprica.universe wrote:
>>>>>>> No idea, I'm not a win32 developer. Windows seems to make a 
>>>>>>> complete meal
>>>>>>> out of what should be - in userspace - a simple process.
>>>>>>>
>>>>>>
>>>>>> Make your own OS and show them how its done. ;^)
>>>>>
>>>>> I dont need to - thomson and Richie did it in 1969.
>>>>>
>>>>
>>>> Well, patch the linux kernel, or the winnt kernel, and show them how 
>>>> you make use of your new socket infrastructure?
>>>
>>> I don't follow. All I'm saying is while its not perfect, the unix - 
>>> and later
>>> posix - socket model is reasonably simple and dovetails nicely with 
>>> other
>>> file descriptor based user subsystems. The only addition I would make 
>>> is to
>>> make AF_INET sockets visible in the filesystem just like AF_UNIX ones.
>>>
>>
>> But, you are telling us how it should work, when you don't know how it 
>> does work?
> 
> I don't care about the kernel implementation, I'm talking about the 
> userspace
> side. I'd have thought that was obvious.
> 

But the userspace side wrt sockets needs to work with the kernel side.

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


#124356

Fromboltar@battlestar.co.uk
Date2026-07-22 08:01 +0000
Message-ID<113ptdf$2n430$1@dont-email.me>
In reply to#124353
On Tue, 21 Jul 2026 14:28:43 -0700
"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> wrote:
>On 7/21/2026 2:13 PM, boltar@battlestar-galactica.com wrote:
>> I don't care about the kernel implementation, I'm talking about the 
>> userspace
>> side. I'd have thought that was obvious.
>> 
>
>But the userspace side wrt sockets needs to work with the kernel side.

Are you an LLM? You seem to understand the meaning of words but get lost
on the meaning of the whole post.

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


#124359

From"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Date2026-07-22 13:28 -0700
Message-ID<113r95u$396f7$2@dont-email.me>
In reply to#124356
On 7/22/2026 1:01 AM, boltar@battlestar.co.uk wrote:
> On Tue, 21 Jul 2026 14:28:43 -0700
> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> wrote:
>> On 7/21/2026 2:13 PM, boltar@battlestar-galactica.com wrote:
>>> I don't care about the kernel implementation, I'm talking about the 
>>> userspace
>>> side. I'd have thought that was obvious.
>>>
>>
>> But the userspace side wrt sockets needs to work with the kernel side.
> 
> Are you an LLM? You seem to understand the meaning of words but get lost
> on the meaning of the whole post.
> 

No LLM, I have a long history on this group.

You are the one that seems be be missing something... As if you no 
experience with using sockets?

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


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

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


csiph-web