setTimeout() and clearTimeout() methods.

Public methods are introduced to create and post async events for
a VM instance.  njs_vm_add_event() creates an async event for the VM
to wait for.  njs_vm_post_event() notifies the VM that the event
occurred.  If async events were added njs_vm_run() returns NJS_AGAIN
until there are no remaining pending events.
17 files changed
tree: 009ac15c35c8285a725400a8c55ba170090b5952
  1. .hgtags
  2. CHANGES
  3. LICENSE
  4. Makefile
  5. README
  6. configure
  7. nginx/
  8. njs/
  9. nxt/