Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
47ab1c1e
Commit
47ab1c1e
authored
Jan 27, 2009
by
Ken Thompson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
spelling
R=r OCL=23602 CL=23602
parent
1e1cc4eb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
chan.c
src/runtime/chan.c
+4
-5
runtime.h
src/runtime/runtime.h
+1
-1
No files found.
src/runtime/chan.c
View file @
47ab1c1e
...
...
@@ -5,7 +5,6 @@
#include "runtime.h"
static
int32
debug
=
0
;
static
int32
xxx
=
0
;
static
Lock
chanlock
;
typedef
struct
Hchan
Hchan
;
...
...
@@ -548,7 +547,7 @@ sys·selectgo(Select *sel)
G
*
gp
;
byte
*
as
;
if
(
xxx
)
{
if
(
debug
)
{
prints
(
"selectgo: sel="
);
sys
·
printpointer
(
sel
);
prints
(
"
\n
"
);
...
...
@@ -697,7 +696,7 @@ loop:
goto
loop
;
}
if
(
xxx
)
{
if
(
debug
)
{
prints
(
"wait-return: sel="
);
sys
·
printpointer
(
sel
);
prints
(
" c="
);
...
...
@@ -747,7 +746,7 @@ asyns:
gotr
:
// recv path to wakeup the sender (sg)
if
(
xxx
)
{
if
(
debug
)
{
prints
(
"gotr: sel="
);
sys
·
printpointer
(
sel
);
prints
(
" c="
);
...
...
@@ -765,7 +764,7 @@ gotr:
gots
:
// send path to wakeup the receiver (sg)
if
(
xxx
)
{
if
(
debug
)
{
prints
(
"gots: sel="
);
sys
·
printpointer
(
sel
);
prints
(
" c="
);
...
...
src/runtime/runtime.h
View file @
47ab1c1e
...
...
@@ -238,7 +238,7 @@ enum
};
/*
* defered subroutine calls
* defer
r
ed subroutine calls
*/
struct
Defer
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment