yuyi
2574dce174
all: fix remaining []array
warnings
2020-04-26 16:25:54 +02:00
lutherwenxu
dc4db87be3
vlib: use new filename format
2020-04-11 19:51:32 +02:00
Delyan Angelov
b411d29577
v2: fix support for 'go fn()' in modules. sync.pool is again multithreaded.
2020-04-03 19:44:49 +03:00
Alexey
5b6ec8996a
sync: fix build on Windows
2020-04-02 20:58:07 +02:00
Delyan Angelov
ad9848d983
fix cmd/tools/vtest.v build
...
This PR enables building them again with v2, by making vlib/sync/pool.v
single threaded for now, and by removing the use of generics till they
are fixed in v2.
2020-04-02 15:52:23 +02:00
Alexander Medvednikov
0f160707a4
cgen: GoStmt; experimental parallel parser
2020-03-16 08:33:42 +01:00
Delyan Angelov
8df265a581
sync: protect against sporadic failing tests in macos
2020-03-08 15:40:50 +01:00
Alexander Medvednikov
a8e45251c4
sync.pool: simplify usages of pool.work_on_items
2020-03-05 18:37:57 +01:00
Alexander Medvednikov
b0ece3a9d8
sync: implement pool.work_on_items to process a list of items in parallel
2020-03-04 20:28:42 +01:00
Shun Sakai
c8c43a2475
update copyright year
2020-01-23 21:04:46 +01:00
Delyan Angelov
0d52cc97e4
sync: make new_mutex() and new_waitgroup() return &Mutex and &Waitgroup
2020-01-19 20:32:22 +01:00
Alexander Medvednikov
848cd3cb3e
run vfmt on http, net, sync, strconv
2019-12-22 01:57:50 +03:00
Alexander Medvednikov
55f32fc413
more mutability fixes
2019-12-06 19:23:24 +03:00
Delyan Angelov
b907cf2179
sync/waitgroup: force sleeping for 1ms
...
fixes issues #2874 and #2961
2019-12-03 15:05:08 +03:00
Unknown User
268a6dc6d9
add missing cfns
2019-11-25 04:35:41 +03:00
Alexander Medvednikov
e9e931fe4a
force C function definitions
2019-11-24 12:14:22 +03:00
Alexander Medvednikov
a9ca9f45af
fix enum/match combo in sync_windows.v
2019-10-30 17:29:05 +03:00
Alexander Medvednikov
08c1f408d3
fix sync_windows.v
2019-10-30 16:43:40 +03:00
Delyan Angelov
32b3611026
sync: new_mutex() and new_waitgroup()
2019-10-25 17:24:40 +03:00
Alexander Medvednikov
3d6bdc2dc3
public enums + more public structs (libs/examples/tests)
2019-10-24 13:24:50 +03:00
joe-conigliaro
23c84516e2
compiler: error on unused imports
2019-09-23 13:42:20 +03:00
joe-conigliaro
32683ad6fd
sync: fix mutex on win & waitgroup (all os) update. fixes news_fetcher example on win ( #1776 )
2019-08-29 11:48:03 +03:00
Alexander Medvednikov
ab0a78a498
fix sync_win.v
2019-08-27 00:46:27 +03:00
Richard Warburton
07ed320110
sync: WaitGroup
2019-07-30 15:06:16 +02:00
Richard Warburton
6701c3b263
Fixes #1362
2019-07-29 16:32:39 +02:00
unknown-v
082098ab67
sync_win.v : Add a Missing Closing Bracket
2019-07-25 12:25:38 +02:00
0x9ef
aea6a8075b
Windows mutex
2019-07-24 17:36:20 +02:00
Alexander Medvednikov
7f29928aec
examples: fix news_fetcher on Windows
2019-07-24 12:34:25 +02:00
Alexander Medvednikov
449fd372f9
*_nix.v support
2019-07-15 19:23:09 +02:00
Alexander Medvednikov
4594d78bd6
move all vlib modules to vlib/
2019-06-29 12:00:31 +02:00