mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
add simple synchronization mechanism.
R=rsc DELTA=25 (19 added, 1 deleted, 5 changed) OCL=17346 CL=17346
This commit is contained in:
parent
925454e932
commit
cac904b609
2 changed files with 24 additions and 6 deletions
|
|
@ -39,6 +39,6 @@ func main() {
|
|||
t = reflect.ParseTypeString("*(a int8, b int32)");
|
||||
s = reflect.ToString(t); print(s, "\n");
|
||||
|
||||
t = reflect.ParseTypeString("struct {c *(? *chan *int32, ? *int8)}");
|
||||
t = reflect.ParseTypeString("struct {c *(? *chan *P.integer, ? *int8)}");
|
||||
s = reflect.ToString(t); print(s, "\n");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue