New issue
Advanced search Search tips

Issue 916280 link

Starred by 2 users

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 3
Type: Bug



Sign in to add a comment

Support something like MessageLoopForIO::RegisterIOHandler with TaskScheduler

Project Member Reported by reillyg@chromium.org, Dec 18

Issue description

On POSIX systems we can call base::FileDescriptorWatcher::Watch*() in order to watch for readability or writability on a file descriptor. This seems to work from any Task Scheduler thread.

The Windows equivalent (which creates an I/O completion port) appears to be the MessageLoopForIO::RegisterIOHandler() method. This requires calling base::MessageLoopCurrentForIO::Get() which fails on Task Scheduler threads.
 

Sign in to add a comment