X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2Fperlapi.pod;h=9b3d20aed7c474a869e320edc0859cc23ef6a844;hb=d11915b82a23265566d9643e95935294732103a8;hp=19ab71fcda0c25411304aa15d677602f70235a5c;hpb=b8b4c9f3cf6ef09c878a80ff97526a69902a44ca;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/perlapi.pod b/pod/perlapi.pod index 19ab71f..9b3d20a 100644 --- a/pod/perlapi.pod +++ b/pod/perlapi.pod @@ -1359,6 +1359,13 @@ Returns the size of the string buffer in the SV. See C. STRLEN SvLEN(SV* sv) +=item SvLOCK + +Aquires an internal mutex for a SV. Used to make sure multiple threads +don't stomp on the guts of an SV at the same time + + void SvLOCK(SV* sv) + =item SvNIOK Returns a boolean indicating whether the SV contains a number, integer or @@ -1604,17 +1611,17 @@ false, defined or undefined. Does not handle 'get' magic. bool SvTRUE(SV* sv) -=item svtype - -An enum of flags for Perl types. These are found in the file B -in the C enum. Test these flags with the C macro. - =item SvTYPE Returns the type of the SV. See C. svtype SvTYPE(SV* sv) +=item svtype + +An enum of flags for Perl types. These are found in the file B +in the C enum. Test these flags with the C macro. + =item SVt_IV Integer type flag for scalars. See C. @@ -1643,6 +1650,12 @@ Type flag for hashes. See C. Type flag for blessed scalars. See C. +=item SvUNLOCK + +Release the internal mutex for an SV. + + void SvUNLOCK(SV* sv) + =item SvUPGRADE Used to upgrade an SV to a more complex form. Uses C to