| 1 | package Punk::Cache::Memory; | ||
| 2 | |||
| 3 | 8 | ▶ | use 5.010; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 8 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 8 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 8 | ▶ | use Punk (); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 8 | our $VERSION = '0.70'; | |
| 9 | |||
| 10 | # This store lives in ONE process, so a write here is invisible to every | ||
| 11 | # other worker. Punk::Cache invalidates across the pool on its behalf. | ||
| 12 | 38 | ▶ | sub is_shared { 0 } |
|
Subroutine
is_shared: called CC=1 SCAR=0.0
Pod
documented
| |||
| 13 | |||
| 14 | # All of it is C (include/punk/punk_cache.h + xs/cache.xs). | ||
| 15 | |||
| 16 | 8 | 1; | |
| 17 | |||
| 18 | __END__ | ||