summaryrefslogtreecommitdiff
path: root/reference_test.go
diff options
context:
space:
mode:
authorCarlos Martín Nieto <[email protected]>2013-09-18 09:23:47 +0200
committerCarlos Martín Nieto <[email protected]>2013-12-18 16:18:32 +0100
commita40bdfd4202db244bfc5da348a0f0c528ef122cd (patch)
tree115fcae49287c82eb55bb275cbbd4556fbed72b7 /reference_test.go
parent625ffd022e2c39f3820543cc1239deeb21837266 (diff)
Lock the OS thread when acessing errors
The library stores error information in thread-local storage, which means we need to make sure that the Go runtime doesn't switch OS threads between the time we call a function and th time we attempt to retrieve the error information.
Diffstat (limited to 'reference_test.go')
0 files changed, 0 insertions, 0 deletions