s390x portability fixes

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39901 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2016-06-22 07:54:16 +00:00
parent 78097d25b0
commit 0c7237ec08
5 changed files with 47 additions and 23 deletions

View file

@ -413,6 +413,7 @@ static NSArray *empty = nil;
NSAutoreleasePool *pool = [NSAutoreleasePool new];
double prio = [NSThread threadPriority];
AUTORELEASE(RETAIN(self)); // Make sure we exist while running.
[internal->lock lock];
NS_DURING
{