[so] [SO][Tema3][Linux][SIGWINCH]

Darius Mihai dariusmihaim at gmail.com
Sat Apr 21 10:50:55 EEST 2018


Futex înseamnă fast userspace mutex. Mai multe informații despre ce face ai
la [1].

[1]: http://man7.org/linux/man-pages/man2/futex.2.html

Darius

On Sat, Apr 21, 2018, 10:42 Placinta Alexandru <placintaalexandru1 at gmail.com>
wrote:

> Si partea cu apelul de sistem futex?
> Mai mult aia ma nedumereste.
>
> On Sat, Apr 21, 2018, 10:32 Darius Mihai <dariusmihaim at gmail.com> wrote:
>
>> Salut,
>>
>> WINCH este un semnal primit la redimensionarea
>> unei ferestre (terminal). Un trap pentru el este folosit
>> de programe sau script-uri pentru a redesena conținutul.
>>
>> Redimensionarea terminalului ar trebui să îl trimită.
>>
>> Darius
>>
>> On Sat, Apr 21, 2018, 10:25 Alexandru via so <so at cursuri.cs.pub.ro>
>> wrote:
>>
>>> Buna ziua,
>>>
>>>
>>>
>>> Aveti vreo idee de ce as putea primi semnalul  SIGWINCH?
>>>
>>> Ruland cu strace am observant urmatoarele evenimente:
>>>
>>>
>>>
>>> mmap2(0x809a000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3,
>>> 0x52000) = 0x809a000
>>>
>>> futex(0x80ebec0, FUTEX_WAIT_PRIVATE, 2, NULL) = ? ERESTARTSYS (To be
>>> restarted if SA_RESTART is set)
>>>
>>> --- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} ---
>>>
>>> futex(0x80ebec0, FUTEX_WAIT_PRIVATE, 2, NULL) = ? ERESTARTSYS (To be
>>> restarted if SA_RESTART is set)
>>>
>>>
>>>
>>> Multumesc!
>>>
>>>
>>>
>>> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
>>> Windows 10
>>>
>>>
>>> _______________________________________________
>>> http://ocw.cs.pub.ro/courses/so/info/lista-discutii
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/pipermail/so/attachments/20180421/ac857a24/attachment.html>


More information about the so mailing list