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

Author Topic: Is Xlib fix for threading still relevant?  (Read 1525 times)

0 Members and 1 Guest are viewing this topic.

Ancurio

  • Jr. Member
  • **
  • Posts: 66
    • View Profile
Is Xlib fix for threading still relevant?
« on: December 24, 2012, 09:20:25 am »
Hi! I recently started working with SFML, and I must say I enjoy it very much^^

When I split off event handling in my project into a separate thread,
all sorts of weird would happen, from bad X request errors to hanging in a window.clear() call.

This patch fixes those issues, but I was wondering if I should even create a pull request for this,
as it seems the relevant parts will soon be replaced by xcb anyway?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: Is Xlib fix for threading still relevant?
« Reply #1 on: December 24, 2012, 09:22:27 am »
You don't need to create a pull request for this. I'm aware of the problem, and it will be fixed soon.
Laurent Gomila - SFML developer

Ancurio

  • Jr. Member
  • **
  • Posts: 66
    • View Profile
Re: Is Xlib fix for threading still relevant?
« Reply #2 on: December 24, 2012, 10:24:34 am »
Okay, thanks^^

By "fixing", do you actually mean the switch to xcb?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: Is Xlib fix for threading still relevant?
« Reply #3 on: December 24, 2012, 11:26:20 am »
Yep.
Laurent Gomila - SFML developer

 

anything