Homec4science

BibSched: fix conflict between OS signals and I/O

Authored by Samuele Kaplun <samuele.kaplun@cern.ch> on Jul 14 2008, 15:16.

Description

BibSched: fix conflict between OS signals and I/O

  • Connected USR2 signal to SIG_IGN. This should solve any conflict raising when pinging a task with USR2 signal for discovering if it's still alive, while the task is performing I/O operation (e.g. downloading an URL). (See http://www.python.org/doc/2.3.5/lib/module-signal.html, the fourth dot).
  • This solves notably problem with full-text-indexing remote files.

(cherry-picked from d7f4373a235c808caccabb068587d7a8afc23422)

Details

Committed
Tibor Simko <tibor.simko@cern.ch>May 13 2010, 19:22
Parents
R3600:724f77b7e4a6: git: new .gitignore and sse2f files
Branches
Unknown
Tags
Unknown

Event Timeline

Tibor Simko <tibor.simko@cern.ch> committed R3600:1fc17503c1be: BibSched: fix conflict between OS signals and I/O (authored by Samuele Kaplun <samuele.kaplun@cern.ch>).May 13 2010, 19:22