Yes, but perl itself is fundamentally a single process.
What does that mean??? What does that have to do with anything???
You said "If your getting a race condition, it's between 2 or more forked perl processes". This is clearly wrong. At so many levels.
Even if Perl was single process and single threaded and didn't have coros and didn't have signals and didn't have async IO and ... Even if all that, a race condition is still possible. The OP is talking about a database, so there could be a race with other users of the database!
|