File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed
src/main/ruby/truffleruby/core Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -55,20 +55,13 @@ module Constants
55
55
RLIMIT_NOFILE = Truffle ::Config [ 'platform.process.RLIMIT_NOFILE' ]
56
56
RLIMIT_STACK = Truffle ::Config [ 'platform.process.RLIMIT_STACK' ]
57
57
58
- %i[ RLIMIT_MEMLOCK RLIMIT_NPROC RLIMIT_RSS RLIMIT_SBSIZE ] . each do |limit |
58
+ %i[ RLIMIT_MEMLOCK RLIMIT_NPROC RLIMIT_RSS RLIMIT_SBSIZE RLIMIT_RTPRIO
59
+ RLIMIT_RTTIME RLIMIT_SIGPENDING RLIMIT_MSGQUEUE RLIMIT_NICE ] . each do |limit |
59
60
if value = Truffle ::Config . lookup ( "platform.process.#{ limit } " )
60
61
const_set limit , value
61
62
end
62
63
end
63
64
64
- if Truffle ::Config . lookup ( 'platform.process.RLIMIT_RTPRIO' )
65
- RLIMIT_RTPRIO = Truffle ::Config [ 'platform.process.RLIMIT_RTPRIO' ]
66
- RLIMIT_RTTIME = Truffle ::Config [ 'platform.process.RLIMIT_RTTIME' ]
67
- RLIMIT_SIGPENDING = Truffle ::Config [ 'platform.process.RLIMIT_SIGPENDING' ]
68
- RLIMIT_MSGQUEUE = Truffle ::Config [ 'platform.process.RLIMIT_MSGQUEUE' ]
69
- RLIMIT_NICE = Truffle ::Config [ 'platform.process.RLIMIT_NICE' ]
70
- end
71
-
72
65
WNOHANG = Truffle ::Config [ 'platform.process.WNOHANG' ]
73
66
WUNTRACED = Truffle ::Config [ 'platform.process.WUNTRACED' ]
74
67
end
You can’t perform that action at this time.
0 commit comments