This is usually used as a convention, and has no distinct meaning by itself.
Because assignment occurs to lvals, and NULL is unassignable, this protects against the dreaded threadInfo = NULL
when you meant threadInfo == NULL
or threadInfo != NULL
bug.
For more detail, see this wikipedia article section on left-hand comparisons