Definition release_spec: funspec := mk_funspec
  ((_lock OF tptr Tvoid)%formals :: nil, tvoid)
  cc_default
  release_arg_type
  (fun _ => release_pre)
  (fun _ => release_post)
  NP_release_pre
  NP_release_post
.

(* Specifications: *)
Lemma selflock_rec : forall sh v R, rec_inv sh v R (selflock R sh v).
Lemma selflock_rec : forall sh v R, rec_inv sh v R (selflock R sh v).