Julia 1.8.0 DEV DocumentationThreads.threadid() 1 Note If you prefer to use the environment variable you can set it as follows in Bash (Linux/macOS): export JULIA_NUM_THREADS=4 C shell on Linux/macOS, CMD on Windows: set JULIA_NUM_THREADS=4 ccall(:getenv, Cstring, (Cstring,), "SHELL") Cstring(@0x00007fff5fbffc45) julia> unsafe_string(path) "/bin/bash" Note that the argument type tuple must be written as (Cstring,), not (Cstring). This is because problem if the caller tries to get a non-existent environment variable: julia> getenv("SHELL") "/bin/bash" julia> getenv("FOOBAR") getenv: undefined variable: FOOBAR Here is a slightly more complex example0 码力 | 1463 页 | 5.01 MB | 1 年前3
Julia v1.8.5 DocumentationThreads.threadid() 1 Note If you prefer to use the environment variable you can set it as follows in Bash (Linux/macOS): export JULIA_NUM_THREADS=4 C shell on Linux/macOS, CMD on Windows: set JULIA_NUM_THREADS=4 ccall(:getenv, Cstring, (Cstring,), "SHELL") Cstring(@0x00007fff5fbffc45) julia> unsafe_string(path) "/bin/bash" Note that the argument type tuple must be written as (Cstring,), not (Cstring). This is because problem if the caller tries to get a non-existent environment variable: julia> getenv("SHELL") "/bin/bash" julia> getenv("FOOBAR") getenv: undefined variable: FOOBAR Here is a slightly more complex example0 码力 | 1565 页 | 5.04 MB | 1 年前3
Julia 1.8.4 DocumentationThreads.threadid() 1 Note If you prefer to use the environment variable you can set it as follows in Bash (Linux/macOS): export JULIA_NUM_THREADS=4 C shell on Linux/macOS, CMD on Windows: set JULIA_NUM_THREADS=4 ccall(:getenv, Cstring, (Cstring,), "SHELL") Cstring(@0x00007fff5fbffc45) julia> unsafe_string(path) "/bin/bash" Note that the argument type tuple must be written as (Cstring,), not (Cstring). This is because problem if the caller tries to get a non-existent environment variable: julia> getenv("SHELL") "/bin/bash" julia> getenv("FOOBAR") getenv: undefined variable: FOOBAR Here is a slightly more complex example0 码力 | 1565 页 | 5.04 MB | 1 年前3
Julia 1.8.3 DocumentationThreads.threadid() 1 Note If you prefer to use the environment variable you can set it as follows in Bash (Linux/macOS): export JULIA_NUM_THREADS=4 C shell on Linux/macOS, CMD on Windows: set JULIA_NUM_THREADS=4 ccall(:getenv, Cstring, (Cstring,), "SHELL") Cstring(@0x00007fff5fbffc45) julia> unsafe_string(path) "/bin/bash" Note that the argument type tuple must be written as (Cstring,), not (Cstring). This is because problem if the caller tries to get a non-existent environment variable: julia> getenv("SHELL") "/bin/bash" julia> getenv("FOOBAR") getenv: undefined variable: FOOBAR Here is a slightly more complex example0 码力 | 1565 页 | 5.04 MB | 1 年前3
Julia 1.8.0 DocumentationThreads.threadid() 1 Note If you prefer to use the environment variable you can set it as follows in Bash (Linux/macOS): export JULIA_NUM_THREADS=4 C shell on Linux/macOS, CMD on Windows: set JULIA_NUM_THREADS=4 ccall(:getenv, Cstring, (Cstring,), "SHELL") Cstring(@0x00007fff5fbffc45) julia> unsafe_string(path) "/bin/bash" Note that the argument type tuple must be written as (Cstring,), not (Cstring). This is because problem if the caller tries to get a non-existent environment variable: julia> getenv("SHELL") "/bin/bash" julia> getenv("FOOBAR") getenv: undefined variable: FOOBAR Here is a slightly more complex example0 码力 | 1595 页 | 5.35 MB | 1 年前3
Julia 1.8.1 DocumentationThreads.threadid() 1 Note If you prefer to use the environment variable you can set it as follows in Bash (Linux/macOS): export JULIA_NUM_THREADS=4 C shell on Linux/macOS, CMD on Windows: set JULIA_NUM_THREADS=4 ccall(:getenv, Cstring, (Cstring,), "SHELL") Cstring(@0x00007fff5fbffc45) julia> unsafe_string(path) "/bin/bash" Note that the argument type tuple must be written as (Cstring,), not (Cstring). This is because problem if the caller tries to get a non-existent environment variable: julia> getenv("SHELL") "/bin/bash" julia> getenv("FOOBAR") getenv: undefined variable: FOOBAR Here is a slightly more complex example0 码力 | 1563 页 | 5.03 MB | 1 年前3
Julia 1.8.2 DocumentationThreads.threadid() 1 Note If you prefer to use the environment variable you can set it as follows in Bash (Linux/macOS): export JULIA_NUM_THREADS=4 C shell on Linux/macOS, CMD on Windows: set JULIA_NUM_THREADS=4 ccall(:getenv, Cstring, (Cstring,), "SHELL") Cstring(@0x00007fff5fbffc45) julia> unsafe_string(path) "/bin/bash" Note that the argument type tuple must be written as (Cstring,), not (Cstring). This is because problem if the caller tries to get a non-existent environment variable: julia> getenv("SHELL") "/bin/bash" julia> getenv("FOOBAR") getenv: undefined variable: FOOBAR Here is a slightly more complex example0 码力 | 1563 页 | 5.04 MB | 1 年前3
Julia v1.6.6 DocumentationThreads.threadid() 1 Note If you prefer to use the environment variable you can set it as follows in Bash (Linux/macOS): 256 CHAPTER 24. MULTI-THREADING 257 export JULIA_NUM_THREADS=4 C shell on Linux/macOS ccall(:getenv, Cstring, (Cstring,), "SHELL") Cstring(@0x00007fff5fbffc45) julia> unsafe_string(path) "/bin/bash" Note that the argument type tuple must be written as (Cstring,), not (Cstring). This is because problem if the caller tries to get a non-existent environment variable: julia> getenv("SHELL") "/bin/bash" julia> getenv("FOOBAR") getenv: undefined variable: FOOBAR Here is a slightly more complex example0 码力 | 1324 页 | 4.54 MB | 1 年前3
Julia 1.6.5 DocumentationThreads.threadid() 1 Note If you prefer to use the environment variable you can set it as follows in Bash (Linux/macOS): 256 CHAPTER 24. MULTI-THREADING 257 export JULIA_NUM_THREADS=4 C shell on Linux/macOS ccall(:getenv, Cstring, (Cstring,), "SHELL") Cstring(@0x00007fff5fbffc45) julia> unsafe_string(path) "/bin/bash" Note that the argument type tuple must be written as (Cstring,), not (Cstring). This is because problem if the caller tries to get a non-existent environment variable: julia> getenv("SHELL") "/bin/bash" julia> getenv("FOOBAR") getenv: undefined variable: FOOBAR Here is a slightly more complex example0 码力 | 1325 页 | 4.54 MB | 1 年前3
Julia 1.6.7 DocumentationThreads.threadid() 1 Note If you prefer to use the environment variable you can set it as follows in Bash (Linux/macOS): 256 CHAPTER 24. MULTI-THREADING 257 export JULIA_NUM_THREADS=4 C shell on Linux/macOS ccall(:getenv, Cstring, (Cstring,), "SHELL") Cstring(@0x00007fff5fbffc45) julia> unsafe_string(path) "/bin/bash" Note that the argument type tuple must be written as (Cstring,), not (Cstring). This is because problem if the caller tries to get a non-existent environment variable: julia> getenv("SHELL") "/bin/bash" julia> getenv("FOOBAR") getenv: undefined variable: FOOBAR Here is a slightly more complex example0 码力 | 1324 页 | 4.54 MB | 1 年前3
共 87 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9













