Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
L
libsignon-glib
  • Overview
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
    • Locked Files
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 1
    • Merge Requests 1
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • accounts-sso
  • libsignon-glib
  • Merge Requests
  • !9

Merged
Opened Aug 01, 2016 by Alberto Mardegan@mardy 
  • Report abuse
Report abuse

Lib: don't use g_idle_add, respect thread affinity

After commit 4e85baaf libsignon-glib stopped working when used in a thread on which g_main_context_push_thread_default() had been called: the reason is that g_idle_add()'s callback is always involved on the default GMainContext, and not on the one used by the current thread.

We fix this problem by using g_source directly. Fixes: https://bugs.launchpad.net/bugs/1607799

  • Discussion 2
  • Commits 2
  • Pipelines 2
  • Changes 2
{{ resolvedDiscussionCount }}/{{ discussionCount }} {{ resolvedCountText }} resolved
  • Albert Astals Cid @albert-astals commented Aug 01, 2016

    I can confirm it fixes said bug. Not much of a glib expert myself so can't comment on the code changes themselves

    I can confirm it fixes said bug. Not much of a glib expert myself so can't comment on the code changes themselves
  • Alberto Mardegan @mardy

    Added 1 commit:

    • b6a6cf0f - Tests: remove check for undefined case
    Aug 02, 2016

    Added 1 commit:

    • b6a6cf0f - Tests: remove check for undefined case
    Added 1 commit: * b6a6cf0f - Tests: remove check for undefined case
    Toggle commit list
  • Corentin Noël @tintou commented Aug 24, 2016
    Master

    Everything looks good here

    Everything looks good here
  • Alberto Mardegan @mardy

    Status changed to merged

    Sep 27, 2016

    Status changed to merged

    Status changed to merged
    Toggle commit list
  • Write
  • Preview
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment
Assignee
No assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
Reference: accounts-sso/libsignon-glib!9