structure Sharing : sig datatype request = PRIVATE | SHARED | DONTCARE datatype mode = SHARE of bool | DONTSHARE end