Comment patch for bgworker.c - Mailing list pgsql-hackers

From Jim Nasby
Subject Comment patch for bgworker.c
Date
Msg-id 544AF3FB.5000604@BlueTreble.com
Whole thread Raw
Responses Re: Comment patch for bgworker.c
List pgsql-hackers
The comment for the BackgroundWorkerSlot structure tripped me up reviewing Robert's background worker patch; it made it
clearthat you need to use a memory barrier before setting in_use, but normally you'd never need to worry about that
becauseRegisterDynamicBackgroundWorker() handles it for you. Patch adds a comment to that effect. 
--
Jim Nasby, Data Architect, Blue Treble Consulting
Data in Trouble? Get it in Treble! http://BlueTreble.com

Attachment

pgsql-hackers by date:

Previous
From: Jim Nasby
Date:
Subject: Re: superuser() shortcuts
Next
From: Tatsuo Ishii
Date:
Subject: Comment in outfunc.c