Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Some simple questions about the Thread class  (Read 2577 times)

0 Members and 1 Guest are viewing this topic.

zac

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
Some simple questions about the Thread class
« on: October 10, 2008, 07:34:58 pm »
How is the thread class implemented in Linux?
Are they kernel threads (via clone() or sys_clone()?), or fibers?
Is SFML-Thread based on libraries like pethread or GNU-portable-threads?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32451
    • View Profile
    • SFML's website
    • Email
Some simple questions about the Thread class
« Reply #1 on: October 10, 2008, 07:38:01 pm »
SFML threads are based on the pthread library on Linux and MacOS.
Laurent Gomila - SFML developer

zac

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
Some simple questions about the Thread class
« Reply #2 on: October 10, 2008, 07:45:09 pm »
Thanks.

 

anything