ft_utils

weave Module Documentation

The weave module is for advanced, specialist thread manipulation features.

Python API

The following two functions are intended to be called from native code (see ft_weave.h below). They take integer arguments where those integers are actually native pointer values which should be created via calling PyLong_FromVoidPtr.

Native API

ft_weave.h provides a header only implementation which in conjuction with having weave imported into the Python VM will permit access to weave’s advanced threading features. The functions in the header will attempt to import ft_utils.weave if required.