RT Library now supports threads and locks.