Hi Rob,

Is the Str module threadsafe? ISTR there was something dodgy about it in a 
threaded environment.

> +let assert_utc x =
> +     let r = Str.regexp "^[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]T[0-
> 9][0-9]:[0-9][0-9]:[0-9][0-9]Z$" in
> +     if not (Str.string_match r x 0) then
> +             invalid_arg x
> +


Cheers,
Dave

_______________________________________________
xen-api mailing list
[email protected]
http://lists.xensource.com/mailman/listinfo/xen-api

Reply via email to