--- Log opened Sat Apr 23 00:00:03 2022 00:00 -!- glix [~glix@user/glix] has quit [Remote host closed the connection] 00:13 -!- shesek__ [~shesek@user/shesek] has quit [Remote host closed the connection] 00:13 -!- shesek__ [~shesek@user/shesek] has joined #bitcoin-wizards 00:21 -!- AaronvanW [~AaronvanW@user/AaronvanW] has joined #bitcoin-wizards 00:35 -!- shesek__ [~shesek@user/shesek] has quit [Remote host closed the connection] 00:35 -!- shesek__ [~shesek@user/shesek] has joined #bitcoin-wizards 00:47 -!- Guyver2 [~Guyver@77-174-98-73.fixed.kpn.net] has joined #bitcoin-wizards 01:14 -!- shesek__ [~shesek@user/shesek] has quit [Remote host closed the connection] 01:14 -!- shesek__ [~shesek@user/shesek] has joined #bitcoin-wizards 01:22 -!- shesek__ [~shesek@user/shesek] has quit [Remote host closed the connection] 01:22 -!- shesek__ [~shesek@user/shesek] has joined #bitcoin-wizards 01:37 -!- shesek__ [~shesek@user/shesek] has quit [Remote host closed the connection] 01:37 -!- shesek__ [~shesek@user/shesek] has joined #bitcoin-wizards 01:48 -!- shesek_ [~shesek@user/shesek] has joined #bitcoin-wizards 01:50 -!- shesek__ [~shesek@user/shesek] has quit [Remote host closed the connection] 02:08 -!- shesek_ [~shesek@user/shesek] has quit [Remote host closed the connection] 02:08 -!- shesek_ [~shesek@user/shesek] has joined #bitcoin-wizards 02:19 -!- shesek_ [~shesek@user/shesek] has quit [Remote host closed the connection] 02:19 -!- shesek_ [~shesek@user/shesek] has joined #bitcoin-wizards 02:33 -!- shesek_ [~shesek@user/shesek] has quit [Remote host closed the connection] 02:33 -!- shesek_ [~shesek@user/shesek] has joined #bitcoin-wizards 03:36 -!- vysn [~vysn@user/vysn] has quit [Ping timeout: 240 seconds] 03:51 -!- tromp [~textual@dhcp-077-249-230-040.chello.nl] has quit [Quit: My iMac has gone to sleep. ZZZzzz…] 03:59 -!- shesek_ [~shesek@user/shesek] has quit [Remote host closed the connection] 03:59 -!- shesek_ [~shesek@user/shesek] has joined #bitcoin-wizards 04:20 -!- shesek_ [~shesek@user/shesek] has quit [Remote host closed the connection] 04:20 -!- shesek_ [~shesek@user/shesek] has joined #bitcoin-wizards 04:29 -!- shesek__ [~shesek@user/shesek] has joined #bitcoin-wizards 04:30 -!- shesek_ [~shesek@user/shesek] has quit [Remote host closed the connection] 04:36 -!- shesek__ [~shesek@user/shesek] has quit [Remote host closed the connection] 04:36 -!- shesek__ [~shesek@user/shesek] has joined #bitcoin-wizards 04:56 -!- yanmaani [~yanmaani@gateway/tor-sasl/yanmaani] has quit [Ping timeout: 240 seconds] 05:09 -!- yanmaani [~yanmaani@gateway/tor-sasl/yanmaani] has joined #bitcoin-wizards 05:19 -!- yanmaani [~yanmaani@gateway/tor-sasl/yanmaani] has quit [Ping timeout: 240 seconds] 05:48 -!- yanmaani [~yanmaani@gateway/tor-sasl/yanmaani] has joined #bitcoin-wizards 06:21 < roconnor> https://github.com/ElementsProject/simplicity/blob/master/C/callonce.h 06:21 < roconnor> This is for C rather than CPP, but the general idea should hold. 06:28 -!- Guyver2 [~Guyver@77-174-98-73.fixed.kpn.net] has quit [Read error: Connection reset by peer] 06:28 -!- Guyver2 [Guyver@77-174-98-73.fixed.kpn.net] has joined #bitcoin-wizards 06:46 -!- shesek__ [~shesek@user/shesek] has quit [Remote host closed the connection] 06:46 -!- shesek__ [~shesek@user/shesek] has joined #bitcoin-wizards 07:03 < roconnor> s/CPP/C++/ 07:17 < roconnor> after reading your code, I kinda want to swap lines 11 and 12 now. 07:21 -!- shesek__ [~shesek@user/shesek] has quit [Remote host closed the connection] 07:21 -!- shesek__ [~shesek@user/shesek] has joined #bitcoin-wizards 07:26 -!- shesek__ [~shesek@user/shesek] has quit [Remote host closed the connection] 07:26 -!- shesek__ [~shesek@user/shesek] has joined #bitcoin-wizards 08:05 -!- shesek__ [~shesek@user/shesek] has quit [Remote host closed the connection] 08:05 -!- shesek__ [~shesek@user/shesek] has joined #bitcoin-wizards 08:26 -!- piku [~piku@47.204.150.204] has joined #bitcoin-wizards 08:35 -!- piku [~piku@47.204.150.204] has quit [Remote host closed the connection] 08:37 -!- shesek__ [~shesek@user/shesek] has quit [Remote host closed the connection] 08:37 -!- shesek__ [~shesek@user/shesek] has joined #bitcoin-wizards 08:56 -!- shesek__ [~shesek@user/shesek] has quit [Remote host closed the connection] 08:56 -!- shesek__ [~shesek@user/shesek] has joined #bitcoin-wizards 09:19 -!- vysn [~vysn@user/vysn] has joined #bitcoin-wizards 09:23 -!- Guyver2_ [Guyver@77-174-98-73.fixed.kpn.net] has joined #bitcoin-wizards 09:25 -!- Guyver2 [Guyver@77-174-98-73.fixed.kpn.net] has quit [Ping timeout: 246 seconds] 09:29 -!- vysn [~vysn@user/vysn] has quit [Ping timeout: 240 seconds] 09:59 -!- AaronvanW [~AaronvanW@user/AaronvanW] has quit [Quit: Leaving...] 10:02 -!- shesek__ [~shesek@user/shesek] has quit [Remote host closed the connection] 10:02 -!- shesek__ [~shesek@user/shesek] has joined #bitcoin-wizards 10:04 -!- tromp [~textual@dhcp-077-249-230-040.chello.nl] has joined #bitcoin-wizards 10:15 -!- shesek__ [~shesek@user/shesek] has quit [Remote host closed the connection] 10:15 -!- shesek__ [~shesek@user/shesek] has joined #bitcoin-wizards 10:16 -!- shesek__ [~shesek@user/shesek] has quit [Remote host closed the connection] 10:37 -!- tromp [~textual@dhcp-077-249-230-040.chello.nl] has quit [Quit: My iMac has gone to sleep. ZZZzzz…] 11:00 -!- tromp [~textual@dhcp-077-249-230-040.chello.nl] has joined #bitcoin-wizards 11:12 -!- tromp [~textual@dhcp-077-249-230-040.chello.nl] has quit [Quit: My iMac has gone to sleep. ZZZzzz…] 11:51 -!- tromp [~textual@dhcp-077-249-230-040.chello.nl] has joined #bitcoin-wizards 12:01 -!- tromp [~textual@dhcp-077-249-230-040.chello.nl] has quit [Quit: My iMac has gone to sleep. ZZZzzz…] 12:13 -!- tromp [~textual@dhcp-077-249-230-040.chello.nl] has joined #bitcoin-wizards 12:29 -!- tromp [~textual@dhcp-077-249-230-040.chello.nl] has quit [Quit: My iMac has gone to sleep. ZZZzzz…] 12:42 -!- tromp [~textual@dhcp-077-249-230-040.chello.nl] has joined #bitcoin-wizards 12:56 -!- tromp [~textual@dhcp-077-249-230-040.chello.nl] has quit [Quit: My iMac has gone to sleep. ZZZzzz…] 13:14 -!- Guyver2_ [Guyver@77-174-98-73.fixed.kpn.net] has quit [Quit: Going offline, see ya! (www.adiirc.com)] 13:16 -!- yanmaani [~yanmaani@gateway/tor-sasl/yanmaani] has quit [Ping timeout: 240 seconds] 13:17 -!- yanmaani [~yanmaani@gateway/tor-sasl/yanmaani] has joined #bitcoin-wizards 13:26 -!- tromp [~textual@dhcp-077-249-230-040.chello.nl] has joined #bitcoin-wizards 14:27 -!- tromp [~textual@dhcp-077-249-230-040.chello.nl] has quit [Quit: My iMac has gone to sleep. ZZZzzz…] 14:32 -!- tromp [~textual@dhcp-077-249-230-040.chello.nl] has joined #bitcoin-wizards 15:06 -!- belcher [~belcher@user/belcher] has quit [Ping timeout: 240 seconds] 15:08 < jeremyrubin> Yes that's incorrect unless initialize is nothrow 15:09 -!- belcher [~belcher@user/belcher] has joined #bitcoin-wizards 15:27 -!- tromp [~textual@dhcp-077-249-230-040.chello.nl] has quit [Quit: My iMac has gone to sleep. ZZZzzz…] 15:43 < roconnor> in my defence, C has no exceptions. 15:46 < roconnor> I'm not sure I even want to know the semanics of call_once are supposed to be w.r.t. longjmp. 15:47 < roconnor> I suppose there is a question about recursion... 15:47 < roconnor> ugh. 16:06 < roconnor> https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_once.html 16:07 < roconnor> The pthread_once() function is not a cancellation point. However, if init_routine is a cancellation point and is canceled, the effect on once_control shall be as if pthread_once() was never called. 16:07 < roconnor> If the call to init_routine is terminated by a call to longjmp(), _longjmp(), or siglongjmp(), the behavior is undefined. 16:08 < roconnor> I'm not sure what a cancellation point is... 16:10 < roconnor> If init_routine recursively calls pthread_once() with the same once_control, the recursive call will not call the specified init_routine, and thus the specified init_routine will not complete, and thus the recursive call to pthread_once() will not return. 16:12 < roconnor> anyhow ... we aren't required to match the exact semantics for our local use of call_once. 16:19 < roconnor> I'm not even sure it is legal for non-multithreaded C to deadlock. I vaguely recall that failure to progress through sequence points is undefined behaviour. I might be wrong. 17:11 -!- vysn [~vysn@user/vysn] has joined #bitcoin-wizards 17:19 -!- Tiraspol [~Tiraspol@user/tiraspol] has quit [Ping timeout: 240 seconds] 17:20 -!- Tiraspol [~Tiraspol@c-98-220-224-193.hsd1.il.comcast.net] has joined #bitcoin-wizards 17:20 -!- Tiraspol [~Tiraspol@c-98-220-224-193.hsd1.il.comcast.net] has quit [Changing host] 17:20 -!- Tiraspol [~Tiraspol@user/tiraspol] has joined #bitcoin-wizards 19:29 -!- franks [~dsd@user/ironsoba] has joined #bitcoin-wizards 20:04 -!- roconnor [~roconnor@coq/roconnor] has quit [Quit: Konversation terminated!] 20:13 -!- solocshaw [~Thunderbi@gateway/vpn/pia/solocshaw] has joined #bitcoin-wizards 20:28 -!- CrashTestDummy [~CrashTest@ool-ad020ec7.dyn.optonline.net] has joined #bitcoin-wizards 20:34 -!- CrashTestDummy [~CrashTest@ool-ad020ec7.dyn.optonline.net] has quit [Quit: Leaving] 20:34 -!- CrashTestDummy [~CrashTest@ool-ad020ec7.dyn.optonline.net] has joined #bitcoin-wizards 20:35 -!- CrashTestDummy [~CrashTest@ool-ad020ec7.dyn.optonline.net] has quit [Read error: Connection reset by peer] 21:31 -!- morcos [~morcos@gateway/tor-sasl/morcos] has quit [Ping timeout: 240 seconds] 21:31 -!- morcos [~morcos@gateway/tor-sasl/morcos] has joined #bitcoin-wizards 21:57 -!- solocshaw [~Thunderbi@gateway/vpn/pia/solocshaw] has quit [Remote host closed the connection] 21:59 -!- tromp [~textual@dhcp-077-249-230-040.chello.nl] has joined #bitcoin-wizards 21:59 -!- tromp [~textual@dhcp-077-249-230-040.chello.nl] has quit [Client Quit] 23:08 -!- Tiraspol [~Tiraspol@user/tiraspol] has quit [Ping timeout: 272 seconds] 23:09 -!- Tiraspol [~Tiraspol@c-98-220-224-193.hsd1.il.comcast.net] has joined #bitcoin-wizards 23:09 -!- Tiraspol [~Tiraspol@c-98-220-224-193.hsd1.il.comcast.net] has quit [Changing host] 23:09 -!- Tiraspol [~Tiraspol@user/tiraspol] has joined #bitcoin-wizards 23:50 -!- tromp [~textual@dhcp-077-249-230-040.chello.nl] has joined #bitcoin-wizards --- Log closed Sun Apr 24 00:00:03 2022