Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1542)

Issue 2768043: Use block mode of g_main_context_iteration to avoid consuming too much cpu time. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 8 months ago by Peng Huang
Modified:
13 years, 8 months ago
Reviewers:
Yusuke Sato
CC:
satorux
Base URL:
git@github.com:/ibus/ibus.git
Visibility:
Public.

Description

Use block mode of g_main_context_iteration to avoid consuming too much cpu time. BUG=none TEST=manual

Patch Set 1 #

Patch Set 2 : g_timer_start is not necessary #

Total comments: 1

Patch Set 3 : rename the callback function #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -11 lines) Patch
M bus/ibusimpl.c View 1 2 1 chunk +24 lines, -11 lines 0 comments Download

Messages

Total messages: 2
Peng Huang
13 years, 8 months ago (2010-10-29 09:38:07 UTC) #1
Yusuke Sato
13 years, 8 months ago (2010-10-29 09:45:00 UTC) #2
LGTM

http://codereview.appspot.com/2768043/diff/2001/bus/ibusimpl.c
File bus/ibusimpl.c (right):

http://codereview.appspot.com/2768043/diff/2001/bus/ibusimpl.c#newcode827
bus/ibusimpl.c:827: /* Add a timeout to wake up g_main_context_iteration in
every 0.5 secode,
nit: second
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b