Branch: refs/heads/master
Home:   http://github.com/ibus/ibus

Commit: 2100c1f781fec3a2157e57514d413a977042d84c
    http://github.com/ibus/ibus/commit/2100c1f781fec3a2157e57514d413a977042d84c
Author: Yusuke Sato <[email protected]>
Date:   2010-10-19 (Tue, 19 Oct 2010)

Changed paths:
  M bus/ibusimpl.c

Log Message:
-----------
Fix race condition in bus_ibus_impl_create_engine()

If the bus_ibus_impl_create_engine() function is called right after an 
ibus_component_start() call, the function might fail getting a factory object.

To avoid the problem, we should use the busy-wait logic even when 
ibus_component_is_running() returns true.

BUG=http://crosbug.com/7244
TEST=see the bug (comment #4,7,9)

Review URL: http://codereview.appspot.com/2562041


-- 
You received this message because you are subscribed to the Google
Groups "ibus-devel" group.
iBus project web page: http://code.google.com/p/ibus/
iBus dev group: http://groups.google.com/group/ibus-devel?hl=en

回复