272
edits
m (→C++ Utilities) |
|||
| Line 198: | Line 198: | ||
The following nsCOMPtr helpers are defined to simplify things further: | The following nsCOMPtr helpers are defined to simplify things further: | ||
already_AddRefed<nsIThread> | already_AddRefed<nsIThread> do_GetCurrentThread(); | ||
| | ||
already_AddRefed<nsIThread> | already_AddRefed<nsIThread> do_GetMainThread(); | ||
| | ||
already_AddRefed<nsIThread> | already_AddRefed<nsIThread> do_GetThread(const nsACString &name); | ||
=== nsRunnable === | === nsRunnable === | ||
edits