Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add deprecation entry for RemoteRef #14458

Merged
merged 1 commit into from
Dec 22, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions base/deprecated.jl
Original file line number Diff line number Diff line change
Expand Up @@ -902,3 +902,5 @@ function isexecutable(st::Filesystem.StatStruct)
return (st.mode & 0o111) > 0
end
export isreadable, iswritable, isexecutable

@deprecate RemoteRef RemoteChannel
18 changes: 9 additions & 9 deletions test/netload/nettest.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ function test_connect_disconnect(exp)
print("Testing 10^$exp connect/disconnects:\n")

(port, server) = listenany(8000)
server_started = RemoteRef()
server_exited = RemoteRef()
client_exited = RemoteRef()
server_started = RemoteChannel()
server_exited = RemoteChannel()
client_exited = RemoteChannel()

@async begin
clients_served = 0
Expand Down Expand Up @@ -55,9 +55,9 @@ function test_send(exp)

print("Testing open, send of 10^$exp bytes and closing:\n")

server_started = RemoteRef()
server_exited = RemoteRef()
client_exited = RemoteRef()
server_started = RemoteChannel()
server_exited = RemoteChannel()
client_exited = RemoteChannel()

@async begin
print("\t\t\t[SERVER] Started on port $(port)\n")
Expand Down Expand Up @@ -148,9 +148,9 @@ function test_bidirectional(exp)
(port, server) = listenany(8000)

# For both the server and the client, we will transfer/receive 10^exp bytes
server_started = RemoteRef()
server_exited = RemoteRef()
client_exited = RemoteRef()
server_started = RemoteChannel()
server_exited = RemoteChannel()
client_exited = RemoteChannel()

@async begin
print("\t\t\t[SERVER] Started on port $(port)\n")
Expand Down