Function setTaskLocal

Sets a variable specific to the calling task/fiber.

Prototype

void setTaskLocal(T)(string name, T value)(
  string name,
  T value
);

Remarks

This function also works if called from outside if a fiber. In this case, it will work on a thread local storage.

Authors

Sönke Ludwig

Copyright

© 2012 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.