Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
vala
vala
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 704
    • Issues 704
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 37
    • Merge Requests 37
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • External Wiki
    • External Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • GNOME
  • valavala
  • Issues
  • #924

Closed
Open
Opened Mar 11, 2020 by ZUHONG TAO@taozuhong

export g_poll to support poll/select logic on windows

I found g_poll function in the glib/gpoll.h, it provide a replacement for Posix poll/select on windowss, but it seems that not yet expose it.

use g_poll function in vala module:

[CCode (cheader_filename="glib.h")]
extern int g_poll(PollFD[] fds, int timeout);
[3/3] Linking target meson-out/kangaroo.exe.
FAILED: meson-out/kangaroo.exe
cc @meson-out/kangaroo.exe.rsp
C:/msys/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: meson-out/25a6634@@kangaroo@exe/meson-generated_Illuminate_Supports_Network_tunnel.c.obj: in function `kangaroo_illuminate_supports_network_ssh_tunnel_forward_tunnel_stream':
D:\Codelabs\GitHub\kangaroo\build/../src/Illuminate/Supports/Network/tunnel.vala:333: undefined reference to `kangaroo_illuminate_supports_network_g_poll'
collect2.exe: error: ld returned 1 exit status
Edited Mar 11, 2020 by ZUHONG TAO
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
0.48
Milestone
0.48
Assign milestone
Time tracking
None
Due date
None
Reference: GNOME/vala#924