Giver of skulls

Verified icon

  • 0 Posts
  • 2 Comments
Joined 102 years ago
cake
Cake day: June 6th, 1923

help-circle
  • Killing -1 will kill all processes you can kill.

    fork() will return negative numbers to indicate errors, 0 to indicate that the code is now in a new thread, or positive numbers to indicate the process ID of the new thread.

    Some programs will kill all threads they started on exit, by sending a kill signal to every thread ID they received when starting new threads.

    Not many developers realise fork() can fail, or that it returns a negative value, or that killing negative values can have weird implications.

    This combination of API designs has led to some quite puzzling but reports that go a little like “whenever I close this program, I get logged out”. Remember to always check for negative numbers when talking to the Unix API!


  • This is just an ad. I don’t know why Unity doesn’t want LGPL software on its storefront, but it has every right to ban the license if it wants to. As demonstrated by the consultancy part of this business still existing, there’s no technical requirement to order your unity assets through the Unity store. Plus, the agreement speaks in no uncertain terms when it comes to (L)GPL code, it specifically mentions those two libraries.

    I’m not a fan of someone starting a company “Videolabs” with an orange traffic cone for a logo, selling VLC integrations. At first I thought I was on the VLC website.