摘要:
Hybrid lock and unlock capabilities are provided for a threaded computing environment. For example, kernel locking services are selectively employed in conjunction with functions in the POSIX threads standard to provide a lock capability and an unlock capability. The hybrid approach determines which lock scheme to employ by evaluating whether one thread or multiple threads concurrently desire a resource lock. When only one thread desires the lock, the thread is directly assigned resource ownership employing one of an operating system primitive lock process or a hardware lock process. An alternate lock process is used to obtain resource ownership when multiple threads concurrently desire the lock. This alternate process employs at least one function in the POSIX threads standard to implement a queue of waiting threads. A similar hybrid approach to the unlock capability is also provided.
摘要:
Hybrid lock and unlock capabilities are provided for a threaded computing environment. For example, kernel locking services are selectively employed in conjunction with functions in the POSIX threads standard to provide a lock capability and an unlock capability. The hybrid approach determines which lock scheme to employ by evaluating whether one thread or multiple threads concurrently desire a resource lock. When only one thread desires the lock, the thread is directly assigned resource ownership employing one of an operating system primitive lock process or a hardware lock process. An alternate lock process is used to obtain resource ownership when multiple threads concurrently desire the lock. This alternate process employs at least one function in the POSIX threads standard to implement a queue of waiting threads. A similar hybrid approach to the unlock capability is also provided.
摘要:
Hybrid lock and unlock capabilities are provided for a threaded computing environment. For example, kernel locking services are selectively employed in conjunction with functions in the POSIX threads standard to provide a lock capability and an unlock capability. The hybrid approach determines which lock scheme to employ by evaluating whether one thread or multiple threads concurrently desire a resource lock. When only one thread desires the lock, the thread is directly assigned resource ownership employing one of an operating system primitive lock process or a hardware lock process. An alternate lock process is used to obtain resource ownership when multiple threads concurrently desire the lock. This alternate process employs at least one function in the POSIX threads standard to implement a queue of waiting threads. A similar hybrid approach to the unlock capability is also provided.
摘要:
An injection moldable, electrostatically paintable polyolefin composition comprising 100 parts of an ethylene/higher .alpha.-olefin copolymer rubber, 20-100 parts of a crystalline propylene polymer, and carbon black, said carbon black having a mean particle diameter of from about 15-30 millimicrons, an oil absorption number (A) having a minimum value of about 40 cc/100 g. and a maximum value wherein A is calculated from the formula A = 0.3116D.sup.2 -18.708D +359.67, wherein D is the mean particle diameter, with the proviso that the maximum value of A is never greater than 130 cc/100 g., said carbon black present within a range determined by the following formulas:Minimum parts carbon black = 2.157D -0.0145D.sup.2 -0.00467AD -5.03;maximum parts carbon black = 0.863D -0.005OD.sup.2 -0.00625AD -0.3663A +0.00159A.sup.2 +49.19;wherein A and D have the values given hereinabove and parts carbon black is based upon the total weight of polymers. The elastomeric composition is used for injection molding large thin sheets for use, for example, as sight shields on the exterior of automotive vehicles.