our grandchildren won't believe that we #zapped hundreds of satoshis for funny memes π€£
"granpa dan are you serious? we could have bought a house for little dan junior with that!"
#danstr
funny how they all come now and ask whether its the right time to buy #bitcoin π€£
but the last 5 years or so when i wanted to talk about btc they laughed at me...
guess everyone needs some time to learn it..
ok i need some helpπ€
i have a multithreaded c application.. i run into an error where i can not allocate more shared memory so i call the fatal error handler.. so far so good, error detected.. now in the error handler i want to
- log some message
- write a coredum
- end all processes i.e terminate the application
i do this by sending a sigterm to all processes in the group with:
kill(0, SIGTERM)
and then next call is
abort()
(this should dumpe the core)
however it looks like the process never reaches abort, i dont see a coredump ...
looks like it receives the SIGTERM before SIGABORT
how can achieve my goal?
#asknostr #programming #c #linux