Given that you just assigned it, how could the pointer possibly be NULL/false?  Unless there's a thread contention issue, in which case you've got other problems.