Take the 2-minute tour ×
Japanese Language Stack Exchange is a question and answer site for students, teachers, and linguists wanting to discuss the finer points of the Japanese language. It's 100% free, no registration required.

On the subject of real-time OS's, I read this sentence:

割り込みを一時的に不可(マスク)とする。

Where 不可 apparently means "to mask". I can understand that "割り込み masks something", but I can't understand "不可とする"

The definition of 不可 that I looked up was "wrong, bad, improper, inadvisable". So, what does "不可とする" mean in this context?

share|improve this question
1  
means "not". means "possible/available". –  Teno Sep 28 '12 at 22:16
add comment

2 Answers

up vote 3 down vote accepted

I think that the sentence means “It disables (masks) interrupts temporarily,” although I am not sure if I understand the author’s intent of the parenthesized part “(マスク)” in the original sentence correctly.

不可 here means “disabled.” I would like to add that this usage is not common. The usual word for “disabled” is 無効, and the sentence is more usually written as 割り込みを一時的に無効にする, ignoring the parenthesized part.

In addition, I think that the use of parentheses in the given sentence is nonstandard. The use indicates that マスク is either an explanation or a paraphrase of 不可, but explaining 不可 as “mask” or “masking” is, well, a type error. I think that what the author wanted to say is something like

割り込みを一時的に無効にする (マスクする)。

where マスクする (to mask) is another way of stating 無効にする (to disable).

share|improve this answer
add comment

"I can understand that '割り込み masks something'".

The word 割り込み means a CPU interrupt. So it appears to say "Temporarily disable (via bit masking) interrupts".

The 不可 means "improper, inadvisable", as you said. But the とする means "to make such". So altogether 不可とする means disable.

share|improve this answer
    
So then "disable" would be appropriate? –  Chris Harris Sep 28 '12 at 17:51
    
Yea. I edited it to expound on that. –  Ataraxia Sep 28 '12 at 18:05
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.