Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
b47285f1
Commit
b47285f1
authored
Jan 03, 2018
by
Felix Lange
Committed by
Péter Szilágyi
Jan 03, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vendor: update github.com/rjeczalik/notify (#15801)
parent
b8caba97
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
watcher_fsevents_cgo.go
vendor/github.com/rjeczalik/notify/watcher_fsevents_cgo.go
+5
-2
vendor.json
vendor/vendor.json
+3
-3
No files found.
vendor/github.com/rjeczalik/notify/watcher_fsevents_cgo.go
View file @
b47285f1
...
...
@@ -26,9 +26,9 @@ import "C"
import
(
"errors"
"os"
"runtime"
"sync"
"sync/atomic"
"time"
"unsafe"
)
...
...
@@ -63,6 +63,10 @@ var (
func
init
()
{
wg
.
Add
(
1
)
go
func
()
{
// There is exactly one run loop per thread. Lock this goroutine to its
// thread to ensure that it's not rescheduled on a different thread while
// setting up the run loop.
runtime
.
LockOSThread
()
runloop
=
C
.
CFRunLoopGetCurrent
()
C
.
CFRunLoopAddSource
(
runloop
,
source
,
C
.
kCFRunLoopDefaultMode
)
C
.
CFRunLoopRun
()
...
...
@@ -73,7 +77,6 @@ func init() {
//export gosource
func
gosource
(
unsafe
.
Pointer
)
{
time
.
Sleep
(
time
.
Second
)
wg
.
Done
()
}
...
...
vendor/vendor.json
View file @
b47285f1
...
...
@@ -286,10 +286,10 @@
"revisionTime"
:
"2016-11-28T21:05:44Z"
},
{
"checksumSHA1"
:
"
tnQdt7bxmueZFl0EPrW9YrWiqGg
="
,
"checksumSHA1"
:
"
1ESHllhZOIBg7MnlGHUdhz047bI
="
,
"path"
:
"github.com/rjeczalik/notify"
,
"revision"
:
"
e1801ee34d54c4bf45126ef51fe9750b4e42bee8
"
,
"revisionTime"
:
"201
7-12-10T15:45:11
Z"
"revision"
:
"
27b537f07230b3f917421af6dcf044038dbe57e2
"
,
"revisionTime"
:
"201
8-01-03T13:19:05
Z"
},
{
"checksumSHA1"
:
"5uqO4ITTDMklKi3uNaE/D9LQ5nM="
,
...
...
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