Changeset 14904 in webkit for trunk/JavaScriptCore/kjs/interpreter.cpp
- Timestamp:
- Jun 18, 2006, 10:11:51 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/interpreter.cpp
r14902 r14904 143 143 void TimeoutChecker::pauseTimeoutCheck(Interpreter* interpreter) 144 144 { 145 #if HAVE(SYS_TIME_H) 145 if (interpreter->m_startTimeoutCheckCount == 0) 146 return; 147 148 #if HAVE(SYS_TIME_H) 146 149 ASSERT(interpreter == s_executingInterpreter); 147 150 … … 164 167 void TimeoutChecker::resumeTimeoutCheck(Interpreter* interpreter) 165 168 { 169 if (interpreter->m_startTimeoutCheckCount == 0) 170 return; 171 166 172 #if HAVE(SYS_TIME_H) 167 173 ASSERT(interpreter == s_executingInterpreter); … … 187 193 188 194 // Unblock signal 189 currentSignalHandler = signal(SIGALRM, SIG_IGN);195 currentSignalHandler = signal(SIGALRM, alarmHandler); 190 196 #endif 191 197 } … … 802 808 { 803 809 m_timedOut = false; 804 805 return shouldInterruptScript(); 810 811 pauseTimeoutCheck(); 812 bool retval = shouldInterruptScript(); 813 resumeTimeoutCheck(); 814 815 return retval; 806 816 } 807 817
Note:
See TracChangeset
for help on using the changeset viewer.