Did you know ... Search Documentation:
Predicate thread_self/1