Bug #33682 Patch: Semaphore class is Windows only preventing mono from using connector
Submitted: 4 Jan 2008 0:16 Modified: 8 Jul 2008 16:09
Reporter: Andrew A
Status: Closed
Category:Connector/Net Severity:S1 (Critical)
Version:1.0.10+ OS:Linux
Assigned to: Target Version:
Tags: Mono, pooling, connector, Semaphore, Contribution

File: Maximum allowed size is 500KB.
Description:
Privacy:

If the data you need to attach is more than 500KB, you should create a compressed archive of the data and a README file that describes the data with a filename that includes the bug number (example: bug-data-33682.zip), and use FTP to upload the archive to ftp://ftp.mysql.com/pub/mysql/upload/. Once you have uploaded the file, add a comment to this bug to notify us about it. Note: This directory is unlistable, which means that once you have uploaded your file, you will not be able to see it.

All entries become the exclusive editorial property of Sun Microsystems, Inc.

[4 Jan 2008 0:18] Andrew A
Patch from current to new Semaphore class design

Attachment: Semaphore_Managed.patch (application/octet-stream, text), 4.86 KiB.

[4 Jan 2008 0:18] Andrew A
Result class from the patch being applied and suggested replacement

Attachment: Semaphore.cs (octet/stream, text), 4.12 KiB.

[4 Jan 2008 0:19] Andrew A
Test Case - Run under Mono

Attachment: SemaphorePoolTest.cs (octet/stream, text), 599 bytes.

[4 Jan 2008 0:33] Andrew A
Additional PoolingTest NUnit Test

Attachment: PoolingTests_Updated.patch (application/octet-stream, text), 2.96 KiB.