#include <sbBackgroundThreadMetadataProcessor.h>
Used by sbFileMetadataService to process sbMetadataJobItem handlers on a background thread.
Definition at line 54 of file sbBackgroundThreadMetadataProcessor.h.
sbBackgroundThreadMetadataProcessor::sbBackgroundThreadMetadataProcessor |
( |
sbFileMetadataService * |
aManager | ) |
|
sbBackgroundThreadMetadataProcessor::~sbBackgroundThreadMetadataProcessor |
( |
| ) |
|
|
virtual |
nsresult sbBackgroundThreadMetadataProcessor::Start |
( |
| ) |
|
Make sure that the background thread is running. Note that this method should be called any time a new job is added, since the thread may go to sleep if it runs out of things to do.
Definition at line 86 of file sbBackgroundThreadMetadataProcessor.cpp.
nsresult sbBackgroundThreadMetadataProcessor::Stop |
( |
| ) |
|
PRMonitor* sbBackgroundThreadMetadataProcessor::mMonitor |
|
protected |
PRBool sbBackgroundThreadMetadataProcessor::mShouldShutdown |
|
protected |
nsCOMPtr<nsIThread> sbBackgroundThreadMetadataProcessor::mThread |
|
protected |
The documentation for this class was generated from the following files: